[x] I enclosed the complete output when running turtle, including the stack trace and command used.
Issue Description
Hi,
I am trying to make a local android build, and I found problem very similar at issue #218, but unfortunately the solution provided does not help in my situation.
The build in cloud worked.
Mar 31 08:15:49 turtle[4742] ERROR: Error: ./gradlew exited with non-zero code: 1
at ChildProcess.completionListener (/usr/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:467:12)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
...
at spawnAsync (/usr/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
at spawnAsyncThrowError (/@expo/xdl@59.1.0/src/detach/ExponentTools.ts:111:19)
at buildShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:1476:11)
at Object.createAndroidShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:380:5)
at runShellAppBuilder (/usr/lib/node_modules/turtle-cli/src/builders/android.ts:91:5)
at buildAndroid (/usr/lib/node_modules/turtle-cli/src/builders/android.ts:23:26)
at /usr/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
at Command. (/usr/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
platform: "android"
Mar 31 08:15:49 turtle[4742] ERROR: Failed to build standalone app
err: Error: ./gradlew exited with non-zero code: 1
at ChildProcess.completionListener (/usr/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
at Object.onceWrapper (events.js:422:26)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:467:12)
at maybeClose (internal/child_process.js:1048:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
...
at spawnAsync (/usr/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
at spawnAsyncThrowError (/@expo/xdl@59.1.0/src/detach/ExponentTools.ts:111:19)
at buildShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:1476:11)
at Object.createAndroidShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:380:5)
at runShellAppBuilder (/usr/lib/node_modules/turtle-cli/src/builders/android.ts:91:5)
at buildAndroid (/usr/lib/node_modules/turtle-cli/src/builders/android.ts:23:26)
at /usr/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
at Command. (/usr/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
platform: "android"
New Issue Checklist
yarn global add turtle-cli
ornpm install --global turtle-cli
).Issue Description
Hi, I am trying to make a local android build, and I found problem very similar at issue #218, but unfortunately the solution provided does not help in my situation. The build in cloud worked.
Could you please help me addressing the issue ?
Thank you
Command executed
EXPO_ANDROID_KEYSTORE_PASSWORD="xxxxxxxxxxxxxxxxxx" EXPO_ANDROID_KEY_PASSWORD="xxxxxxxxxxxxxxxxxx" turtle build:android --type apk --keystore-path /root/keys/keystore.jks --keystore-alias "keyalias" --allow-non-https-public-url --public-url http://127.0.0.1:8000/android-index.json
Complete output when running turtle, including the stack trace and command used
You can find the complete output at this URL https://gist.github.com/mapstery/5a59b9bb4887b0dcc0b00d5534b613ec starting from line 364. From lines 1 to 347 I put all the instructions and commands for the setup environment
Environment