当我使用 AppCenter 构建我的 Android 应用程序时,我收到以下错误消息。
有没有人看到这个,如果有,他们是如何解决这个问题的?
- 出了什么问题:任务':app:bundleDevMinSdkDevKernelReleaseExpoAssets'的执行失败。进程 'command'./node_modules/expokit/detach-scripts/run-exp.sh'' 以非零退出值 127 结束
当我使用 AppCenter 构建我的 Android 应用程序时,我收到以下错误消息。
有没有人看到这个,如果有,他们是如何解决这个问题的?
- 出了什么问题:任务':app:bundleDevMinSdkDevKernelReleaseExpoAssets'的执行失败。进程 'command'./node_modules/expokit/detach-scripts/run-exp.sh'' 以非零退出值 127 结束
有些人可能忘记安装 expo-cli。请确保在构建之前安装了 expo。
对我来说,问题是我试图建立一个世博项目。我发现应用中心不支持这些。
第一步
expo publish
第二步
cd android && ./gradlew assemble
bundleIdentifier
androidpackage
app.json
publishBundlePath
并publishManifestPath
在
app.json
应用程序.json
{
"expo": {
...
"ios": {
"bundleIdentifier": "com.example.org",
"publishBundlePath": "ios/chalhoub/Supporting/shell-app.bundle",
"publishManifestPath": "ios/chalhoub/Supporting/shell-app-manifest.json"
},
"android": {
"package": "com.example.org",
"publishBundlePath": "android/app/src/main/assets/shell-app.bundle",
"publishManifestPath": "android/app/src/main/assets/shell-app-manifest.json"
}
}
}