该应用程序可在android和iOS上构建和运行,并且能够将我的应用程序发布到expo。但是我从所有expo build:...
命令中得到了相同的错误消息。我想建立一个APK,真的不介意iOS的ipa。我得到的错误是
Request failed with status code 500
Set EXPO_DEBUG=true in your env to view the stack trace
这是我的app.json
{
"expo": {
"name": "iiApp",
"slug": "expo.io/@mcdowellalex/iiApp",
"privacy": "public",
"sdkVersion": "35.0.0",
"platforms": [
"ios",
"android",
"web"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./content/iiLogo.webp",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.inductiveIntelligence.iiApp"
},
"android": {
"package": "com.inductiveIntelligence.iiApp"
},
"description": ""
}
}
最佳答案
所以我发现一个奇怪的解决方法是打开2个终端。首先,运行expo start。并在应用程序运行后,在另一个终端上运行expo build:android。
我认为这不是预期/预期的过程,但它确实有效。
关于javascript - “expo build:…”命令抛出相同错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/59569134/