Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Gradle error when building an SDK43 app using Turtle v0.23.5 #366

Open
5 tasks done
kramerch opened this issue Dec 7, 2021 · 3 comments
Open
5 tasks done

Gradle error when building an SDK43 app using Turtle v0.23.5 #366

kramerch opened this issue Dec 7, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@kramerch
Copy link

kramerch commented Dec 7, 2021

New Issue Checklist

  • Updated turtle-cli to the latest version (yarn global add turtle-cli or npm install --global turtle-cli).
  • I read the Contribution Guidelines.
  • I read docs.expo.dev (Managed Workflow > Distributing Your App).
  • I searched for existing GitHub issues.
  • I enclosed the complete output when running turtle, including the stack trace and command used.

Issue Description

The gradle script generated by turtle fails with an error code of 0. This seems to be caused by some of the file paths in the script to be incorrect. I've tried to manually fix them, but the issue is perpetuated in other files and eventually there's a point where I can't figure out how to fix it.

This is the line that causes the issue initially:

apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute().text.trim(), "../scripts/autolinking.gradle")

The path ../scripts/autolinking.gradle does not exist from the directory that settings.gradle is located in.

Command executed

EXPO_ANDROID_KEYSTORE_PASSWORD="..." EXPO_ANDROID_KEY_PASSWORD="..." turtle build:android --type apk --keystore-path "..." --keystore-alias "..." --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

Turtle:

 
Dec 7 10:25:46 turtle[2073] INFO:  shell app for SDK 43.0.0 doesn't exist, downloading...
  platform: "android"
  buildPhase: "setting up environment"
downloading [=================== ] 96% 0.8sDec 7 10:26:11 turtle[2073] INFO:  shell app has been downloaded
  platform: "android"
  buildPhase: "setting up environment"
Dec 7 10:26:11 turtle[2073] INFO:  extracting shell app (this may take a while)...
  platform: "android"
  buildPhase: "setting up environment"
Dec 7 10:26:52 turtle[2073] INFO:  shell app extracted
  platform: "android"
  buildPhase: "setting up environment"
Dec 7 10:26:52 turtle[2073] INFO:  installing dependencies in /home/mystborn/.turtle/workingdir/android/sdk43 directory...
  platform: "android"
  buildPhase: "setting up environment"
Dec 7 10:26:54 turtle[2073] INFO:  npm
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  npm WARN
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  npm WARN
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:   deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  npm WARN
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:   deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  npm
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:26:54 turtle[2073] INFO:  WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:  npm
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:  notice created a lockfile as package-lock.json. You should commit this file.
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:  npm WARN optional
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:   SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 7 10:27:05 turtle[2073] INFO:  added 1068 packages from 535 contributors and audited 1070 packages in 12.908s
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 7 10:27:05 turtle[2073] INFO:  98 packages are looking for funding
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 7 10:27:05 turtle[2073] INFO:    run `npm fund` for details
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 7 10:27:05 turtle[2073] INFO:  found 5 vulnerabilities (2 moderate, 2 high, 1 critical)
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 7 10:27:05 turtle[2073] INFO:    run `npm audit fix` to fix them, or `npm audit` for details
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 7 10:27:05 turtle[2073] INFO:  dependencies installed!
  platform: "android"
  buildPhase: "setting up environment"
Dec 7 10:27:05 turtle[2073] INFO:  Using manifest: {
  "name": "turtles",
  "slug": "turtles",
  "version": "1.0.0",
  "orientation": "portrait",
  "icon": "./assets/icon.png",
  "splash": {
    "image": "./assets/splash.png",
    "resizeMode": "contain",
    "backgroundColor": "#ffffff",
    "imageUrl": "http://127.0.0.1:8000/assets/4dc203c1f48ad8b1e9734613e88be661"
  },
  "updates": {
    "fallbackToCacheTimeout": 0
  },
  "ios": {
    "supportsTablet": true
  },
  "android": {
    "adaptiveIcon": {
      "foregroundImage": "./assets/adaptive-icon.png",
      "backgroundColor": "#FFFFFF",
      "foregroundImageUrl": "http://127.0.0.1:8000/assets/97dae5a0e62ad8551d8a31897b425e63"
    },
    "package": "com.reyrey.turtles",
    "versionCode": 100
  },
  "web": {
    "favicon": "./assets/favicon.png"
  },
  "sdkVersion": "43.0.0",
  "platforms": [
    "ios",
    "android",
    "web"
  ],
  "currentFullName": "@anonymous/turtles",
  "originalFullName": "@anonymous/turtles",
  "locales": {},
  "iconUrl": "http://127.0.0.1:8000/assets/4e3f888fc8475f69fd5fa32f1ad5216a",
  "bundledAssets": [
    "asset_c00b5b51f0fd354e216f319a78fb252a.png",
    "asset_ae0fcc2b007ded72c6f985671da3338e.png",
    "asset_46d1173c53d96832e868151c1648ea42.png",
    "asset_34d53ae6f3c2303163010aef6efe27ba.png",
    "asset_a610d434605f8a50094a4029a0ea5ff6.png"
  ],
  "assetUrlOverride": "./assets",
  "publishedTime": "2021-11-05T13:56:03.374Z",
  "commitTime": "2021-11-05T13:56:03.374Z",
  "releaseId": "272af31b-d9a2-448b-b33b-e2f53c84cd95",
  "revisionId": "3oBBAp8p42",
  "developer": {
    "tool": "exp"
  },
  "id": "@anonymous/turtles",
  "platform": "android",
  "bundleUrl": "http://127.0.0.1:8000/bundles/android-37c15966911a49c251fc127d44baef93.js",
  "dependencies": [
    "expo",
    "expo-status-bar",
    "react",
    "react-dom",
    "react-native",
    "react-native-web"
  ]
}
  platform: "android"
  buildPhase: "reading manifest"
Dec 7 10:27:05 turtle[2073] INFO:  Starting build process
  platform: "android"
  buildPhase: "starting builder"
Dec 7 10:27:05 turtle[2073] INFO:  ImageUtils: setting image functions to alternative sharp implementations
  platform: "android"
  buildPhase: "icons setup"
Dec 7 10:27:05 turtle[2073] INFO:  Resolving universal modules dependencies
  platform: "android"
  buildPhase: "resolve native modules"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-ads-admob:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-modules-core:0.4.7
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-ads-facebook:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-analytics-amplitude:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-analytics-segment:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-app-auth:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-apple-authentication:4.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-application:4.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-av:10.1.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-background-fetch:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-task-manager:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding unimodules-app-loader:3.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding unimodules-task-manager-interface:7.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-barcode-scanner:11.1.2
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-image-loader:3.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-battery:6.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-blur:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-brightness:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-calendar:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-camera:12.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-cellular:4.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-clipboard:2.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-constants:12.1.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-contacts:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-crypto:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-device:4.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-document-picker:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-error-recovery:3.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-face-detector:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-facebook:12.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-file-system:13.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-firebase-analytics:5.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-firebase-core:4.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-font:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-gl:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-gl-cpp:11.0.1
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-google-sign-in:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-haptics:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-image-manipulator:10.1.2
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-image-picker:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-in-app-purchases:12.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-intent-launcher:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-json-utils:0.2.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-keep-awake:10.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-linear-gradient:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-local-authentication:12.0.1
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-localization:11.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-location:13.0.4
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-mail-composer:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-manifests:0.2.2
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-media-library:13.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-module-template:10.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-network:4.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-notifications:0.13.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-permissions:13.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-print:11.0.4
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-screen-capture:4.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-screen-orientation:4.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-secure-store:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-sensors:11.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-sharing:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-sms:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-speech:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-splash-screen:0.13.5
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-sqlite:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-store-review:5.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-structured-headers:2.0.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-tracking-transparency:2.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-updates:0.10.14
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-updates-interface:0.4.0
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-video-thumbnails:6.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Adding expo-web-browser:10.0.3
  platform: "android"
Dec 7 10:27:05 turtle[2073] INFO:  Using manifest: {"name":"turtles","slug":"turtles","version":"1.0.0","orientation":"portrait","icon":"./assets/icon.png","splash":{"image":"./assets/splash.png","resizeMode":"contain","backgroundColor":"#ffffff","imageUrl":"http://127.0.0.1:8000/assets/4dc203c1f48ad8b1e9734613e88be661"},"updates":{"fallbackToCacheTimeout":0},"ios":{"supportsTablet":true},"android":{"adaptiveIcon":{"foregroundImage":"./assets/adaptive-icon.png","backgroundColor":"#FFFFFF","foregroundImageUrl":"http://127.0.0.1:8000/assets/97dae5a0e62ad8551d8a31897b425e63"},"package":"com.reyrey.turtles","versionCode":100},"web":{"favicon":"./assets/favicon.png"},"sdkVersion":"43.0.0","platforms":["ios","android","web"],"currentFullName":"@anonymous/turtles","originalFullName":"@anonymous/turtles","locales":{},"iconUrl":"http://127.0.0.1:8000/assets/4e3f888fc8475f69fd5fa32f1ad5216a","bundledAssets":["asset_c00b5b51f0fd354e216f319a78fb252a.png","asset_ae0fcc2b007ded72c6f985671da3338e.png","asset_46d1173c53d96832e868151c1648ea42.png","asset_34d53ae6f3c2303163010aef6efe27ba.png","asset_a610d434605f8a50094a4029a0ea5ff6.png"],"assetUrlOverride":"./assets","publishedTime":"2021-11-05T13:56:03.374Z","commitTime":"2021-11-05T13:56:03.374Z","releaseId":"272af31b-d9a2-448b-b33b-e2f53c84cd95","revisionId":"3oBBAp8p42","developer":{"tool":"exp"},"id":"@anonymous/turtles","platform":"android","bundleUrl":"http://127.0.0.1:8000/bundles/android-37c15966911a49c251fc127d44baef93.js","dependencies":["expo","expo-status-bar","react","react-dom","react-native","react-native-web"]}
  platform: "android"
  buildPhase: "reading manifest"
http://127.0.0.1:8000/assets/c00b5b51f0fd354e216f319a78fb252a
http://127.0.0.1:8000/assets/ae0fcc2b007ded72c6f985671da3338e
http://127.0.0.1:8000/assets/46d1173c53d96832e868151c1648ea42
http://127.0.0.1:8000/assets/34d53ae6f3c2303163010aef6efe27ba
http://127.0.0.1:8000/assets/a610d434605f8a50094a4029a0ea5ff6
Dec 7 10:27:08 turtle[2073] INFO:  FAILURE: Build failed with an exception.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  * Where:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  Settings file '/home/mystborn/.turtle/workingdir/android/sdk43/android-shell-app/settings.gradle' line: 11
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  * What went wrong:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  A problem occurred evaluating settings 'android-shell-app'.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  > String index out of range: 0
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  * Try:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  Run with --stacktrace option to get the stack trace. Run with
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  --info or --debug option to get more log output. Run with --scan to get full insights.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  * Get more help at https://help.gradle.org
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] INFO:  BUILD FAILED in 481ms
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 7 10:27:08 turtle[2073] ERROR: Error: ./gradlew exited with non-zero code: 1
    at ChildProcess.completionListener (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
    at Object.onceWrapper (events.js:520:26)
    at ChildProcess.emit (events.js:400:28)
    at ChildProcess.emit (domain.js:475:12)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
    ...
    at spawnAsync (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
    at spawnAsyncThrowError (/@expo/xdl@59.1.7/src/detach/ExponentTools.ts:111:19)
    at buildShellAppAsync (/@expo/xdl@59.1.7/src/detach/AndroidShellApp.js:1493:11)
    at Object.createAndroidShellAppAsync (/@expo/xdl@59.1.7/src/detach/AndroidShellApp.js:381:5)
    at runShellAppBuilder (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/builders/android.ts:91:5)
    at buildAndroid (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/builders/android.ts:23:26)
    at /home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
    at Command. (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
  platform: "android"
Dec 7 10:27:08 turtle[2073] ERROR: Failed to build standalone app
  err: Error: ./gradlew exited with non-zero code: 1
      at ChildProcess.completionListener (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
      at Object.onceWrapper (events.js:520:26)
      at ChildProcess.emit (events.js:400:28)
      at ChildProcess.emit (domain.js:475:12)
      at maybeClose (internal/child_process.js:1058:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
      ...
      at spawnAsync (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
      at spawnAsyncThrowError (/@expo/xdl@59.1.7/src/detach/ExponentTools.ts:111:19)
      at buildShellAppAsync (/@expo/xdl@59.1.7/src/detach/AndroidShellApp.js:1493:11)
      at Object.createAndroidShellAppAsync (/@expo/xdl@59.1.7/src/detach/AndroidShellApp.js:381:5)
      at runShellAppBuilder (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/builders/android.ts:91:5)
      at buildAndroid (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/builders/android.ts:23:26)
      at /home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
      at Command. (/home/mystborn/.nvm/versions/node/v14.18.1/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
  platform: "android" 
  

I've also tried running the gradle script manually, which resulted in:

Initialized native services in: /home/mystborn/.gradle/native
The client will now receive all logging from the daemon (pid: 3068). The daemon log file: /home/mystborn/.gradle/daemon/6.9/daemon-3068.out.log
Starting 5th build in daemon [uptime: 2 hrs 53 mins 44.922 secs, performance: 98%]
Using 8 worker leases.
Watching the file system is disabled
Starting Build

FAILURE: Build failed with an exception.

  • Where:
    Settings file '/home/mystborn/.turtle/workingdir/android/sdk43/android-shell-app/settings.gradle' line: 11

  • What went wrong:
    A problem occurred evaluating settings 'android-shell-app'.

String index out of range: 0

  • Try:
    Run with --debug option to get more log output. Run with --scan to get full insights.

  • Exception is:
    org.gradle.api.GradleScriptException: A problem occurred evaluating settings 'android-shell-app'.
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)
    at org.gradle.configuration.DefaultScriptTarget.addConfiguration(DefaultScriptTarget.java:74)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:136)
    at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
    at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
    at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
    at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
    at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.applySettingsScript(ScriptEvaluatingSettingsProcessor.java:74)
    at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:67)
    at org.gradle.initialization.SettingsEvaluatedCallbackFiringSettingsProcessor.process(SettingsEvaluatedCallbackFiringSettingsProcessor.java:34)
    at org.gradle.initialization.RootBuildCacheControllerSettingsProcessor.process(RootBuildCacheControllerSettingsProcessor.java:47)
    at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:50)
    at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:47)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    at org.gradle.initialization.BuildOperationSettingsProcessor.process(BuildOperationSettingsProcessor.java:47)
    at org.gradle.initialization.DefaultSettingsLoader.findSettingsAndLoadIfAppropriate(DefaultSettingsLoader.java:127)
    at org.gradle.initialization.DefaultSettingsLoader.findAndLoadSettings(DefaultSettingsLoader.java:65)
    at org.gradle.initialization.SettingsAttachingSettingsLoader.findAndLoadSettings(SettingsAttachingSettingsLoader.java:35)
    at org.gradle.internal.composite.CommandLineIncludedBuildSettingsLoader.findAndLoadSettings(CommandLineIncludedBuildSettingsLoader.java:34)
    at org.gradle.internal.composite.ChildBuildRegisteringSettingsLoader.findAndLoadSettings(ChildBuildRegisteringSettingsLoader.java:53)
    at org.gradle.internal.composite.CompositeBuildSettingsLoader.findAndLoadSettings(CompositeBuildSettingsLoader.java:35)
    at org.gradle.initialization.DefaultSettingsPreparer.prepareSettings(DefaultSettingsPreparer.java:36)
    at org.gradle.initialization.BuildOperationFiringSettingsPreparer$LoadBuild.doLoadBuild(BuildOperationFiringSettingsPreparer.java:62)
    at org.gradle.initialization.BuildOperationFiringSettingsPreparer$LoadBuild.run(BuildOperationFiringSettingsPreparer.java:57)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
    at org.gradle.initialization.BuildOperationFiringSettingsPreparer.prepareSettings(BuildOperationFiringSettingsPreparer.java:45)
    at org.gradle.initialization.DefaultGradleLauncher.prepareSettings(DefaultGradleLauncher.java:218)
    at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:159)
    at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:148)
    at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:124)
    at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:72)
    at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:67)
    at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
    at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67)
    at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56)
    at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
    at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
    at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)
    at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
    at org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:77)
    at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
    at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecuter.java:59)
    at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:58)
    at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:33)
    at org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:32)
    at org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:27)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104)
    at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:64)
    at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:37)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLifecycleBuildActionExecuter.java:54)
    at org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:50)
    at org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:36)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
    at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
    at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
    at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
    at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
    at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
    at org.gradle.util.Swapper.swap(Swapper.java:38)
    at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
    at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
    at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
    at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
    at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at org.gradle.groovy.scripts.TextResourceScriptSource.classNameFromPath(TextResourceScriptSource.java:104)
    at org.gradle.groovy.scripts.TextResourceScriptSource.initClassName(TextResourceScriptSource.java:89)
    at org.gradle.groovy.scripts.TextResourceScriptSource.getClassName(TextResourceScriptSource.java:80)
    at org.gradle.groovy.scripts.DelegatingScriptSource.getClassName(DelegatingScriptSource.java:34)
    at org.gradle.groovy.scripts.internal.BuildScopeInMemoryCachingScriptClassCompiler.compile(BuildScopeInMemoryCachingScriptClassCompiler.java:47)
    at org.gradle.groovy.scripts.DefaultScriptCompilerFactory$ScriptCompilerImpl.compile(DefaultScriptCompilerFactory.java:49)
    at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:110)
    at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
    at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
    at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
    at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
    at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:149)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:42)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:75)
    at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:183)
    at org.gradle.groovy.scripts.DefaultScript.apply(DefaultScript.java:128)
    at org.gradle.api.Script$apply.callCurrent(Unknown Source)
    at settings_cd9kizhf9b3cxypyp1x7a3tsz.run(/home/mystborn/.turtle/workingdir/android/sdk43/android-shell-app/settings.gradle:11)
    at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
    ... 133 more

  • Get more help at https://help.gradle.org

BUILD FAILED in 551ms

Environment

 Expo CLI 4.12.10 environment info:
    System:
      OS: Linux 5.10 Ubuntu 20.04 LTS (Focal Fossa)
      Shell: 5.0.16 - /bin/bash
    Binaries:
      Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node
      npm: 6.14.15 - ~/.nvm/versions/node/v14.18.1/bin/npm
    SDKs:
      Android SDK:
        API Levels: 30
        Build Tools: 30.0.1, 30.0.2
    npmPackages:
      expo: ~43.0.0 => 43.0.1
      react: 17.0.1 => 17.0.1
      react-dom: 17.0.1 => 17.0.1
      react-native: 0.64.2 => 0.64.2
      react-native-web: 0.17.1 => 0.17.1
    npmGlobalPackages:
      expo-cli: 4.13.0
    Expo Workflow: managed 
@kramerch kramerch added the bug Something isn't working label Dec 7, 2021
@wkozyra95
Copy link
Contributor

wkozyra95 commented Dec 8, 2021

Try deleting ~/.turtle directory, if it does not help

  • go to ~/.turtle/workingdir/android/sdk43/android-shell-app and run node --print "require.resolve('expo/package.json')"
  • what version of node are you using?
  • try clearing yarn and npm cache

@azanorth
Copy link

I have the same issue. After running the command node --print "require.resolve('expo/package.json')" I got an error Cannot find module 'expo/package.json' could anyone help with it
I'm using the 14.17.1 node version

@hexdecimal16
Copy link

Hey I fixed it with yarn check this out:
#379 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants