4

当我使用 AppCenter 构建我的 Android 应用程序时,我收到以下错误消息。

有没有人看到这个,如果有,他们是如何解决这个问题的?

  • 出了什么问题:任务':app:bundleDevMinSdkDevKernelReleaseExpoAssets'的执行失败。进程 'command'./node_modules/expokit/detach-scripts/run-exp.sh'' 以非零退出值 127 结束
4

3 回答 3

1

有些人可能忘记安装 expo-cli。请确保在构建之前安装了 expo。

于 2019-06-29T18:18:21.860 回答
0

对我来说,问题是我试图建立一个世博项目。我发现应用中心不支持这些。

于 2019-05-13T11:05:53.420 回答
0

解决方案1:

第一步

expo publish

第二步

cd android && ./gradlew assemble

解决方案2:

  1. 移除 ios和bundleIdentifierandroidpackageapp.json
  2. 弹出项目
  3. 确保publishBundlePathpublishManifestPathapp.json
  4. 立即尝试解决方案 1:

应用程序.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"
    }
  }
}
于 2020-07-29T07:26:04.300 回答