4

When I build my Android app using AppCenter I get the following error message.

Has anyone seen this and if so how did they solve the issue?

  • What went wrong: Execution failed for task ':app:bundleDevMinSdkDevKernelReleaseExpoAssets'. Process 'command './node_modules/expokit/detach-scripts/run-exp.sh'' finished with non-zero exit value 127
Edric
  • 24,639
  • 13
  • 81
  • 91
user3284707
  • 3,033
  • 3
  • 35
  • 69
  • any updates regarding this issue? I'm getting the same error – Lucky_girl May 13 '19 at 10:50
  • The issue was that I was trying to build an expo project.. I’ve since found out that these are not supported in app centre. I’ve added this as an answer now. – user3284707 May 13 '19 at 11:06

3 Answers3

1

Some people might have forgot to install expo-cli. Please make sure you have expo installed before build.

0

The issue for me was that I was trying to build an expo project.. I’ve since found out that these are not supported in app centre.

user3284707
  • 3,033
  • 3
  • 35
  • 69
0

Solution 1:

first step

expo publish

second step

cd android && ./gradlew assemble

Solution 2:

  1. remove ios bundleIdentifier and android package from app.json
  2. eject project
  3. make sure publishBundlePath and publishManifestPath in app.json
  4. try now Solution 1:

app.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"
    }
  }
}
Muhammad Numan
  • 23,222
  • 6
  • 63
  • 80