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

Gradle failing during build #372

Open
5 tasks done
hichemfantar opened this issue Dec 30, 2021 · 1 comment
Open
5 tasks done

Gradle failing during build #372

hichemfantar opened this issue Dec 30, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@hichemfantar
Copy link

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

Command executed

turtle build:android -u -p --type apk --keystore-path ./my-project.jks --keystore-alias <"alias">

Complete output when running turtle, including the stack trace and command used
 
Dec 30 03:43:14 turtle[15166] INFO:  Downloading Android SDK
  platform: "android"
  buildPhase: "setting up environment"
downloading [====================] 99% 0.3sDec 30 03:45:17 turtle[15166] INFO:  Decompressing Android SDK
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 03:45:26 turtle[15166] INFO:  Configuring Android SDK, this may take a while
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 04:07:19 turtle[15166] INFO:  Android SDK installed and configured successfully
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 04:07:19 turtle[15166] INFO:  shell app for SDK 44.0.0 doesn't exist, downloading...
  platform: "android"
  buildPhase: "setting up environment"
downloading [====================] 99% 0.5sDec 30 04:08:25 turtle[15166] INFO:  shell app has been downloaded
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 04:08:25 turtle[15166] INFO:  extracting shell app (this may take a while)...
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 04:10:02 turtle[15166] INFO:  shell app extracted
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 04:10:02 turtle[15166] INFO:  installing dependencies in /home/hichemfantar/.turtle/workingdir/android/sdk44 directory...
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 04:10:24 turtle[15166] INFO:  npm 
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:24 turtle[15166] INFO:  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 30 04:10:24 turtle[15166] INFO:  npm
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:24 turtle[15166] 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 30 04:10:25 turtle[15166] INFO:  npm 
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:25 turtle[15166] INFO:  WARN 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 30 04:10:26 turtle[15166] INFO:  npm 
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:26 turtle[15166] INFO:  WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:27 turtle[15166] INFO:  npm 
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:27 turtle[15166] INFO:  WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:28 turtle[15166] INFO:  npm 
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:10:28 turtle[15166] 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 30 04:11:01 turtle[15166] INFO:  npm
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:11:01 turtle[15166] INFO:   notice created a lockfile as package-lock.json. You should commit this file.
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:11:01 turtle[15166] INFO:  npm WARN 
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:11:01 turtle[15166] INFO:  optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:11:01 turtle[15166] 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 30 04:11:01 turtle[15166] INFO:  npm WARN optional
  platform: "android"
  buildPhase: "setting up environment"
  source: "stderr"
Dec 30 04:11:01 turtle[15166] INFO:   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 30 04:11:01 turtle[15166] 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 30 04:11:01 turtle[15166] INFO:  added 974 packages from 528 contributors and audited 976 packages in 58.112s
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 30 04:11:02 turtle[15166] INFO:  93 packages are looking for funding
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 30 04:11:02 turtle[15166] INFO:    run `npm fund` for details
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 30 04:11:02 turtle[15166] INFO:  found 5 vulnerabilities (2 moderate, 2 high, 1 critical)
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 30 04:11:02 turtle[15166] INFO:    run `npm audit fix` to fix them, or `npm audit` for details
  platform: "android"
  buildPhase: "setting up environment"
  source: "stdout"
Dec 30 04:11:02 turtle[15166] INFO:  dependencies installed!
  platform: "android"
  buildPhase: "setting up environment"
Dec 30 04:11:03 turtle[15166] INFO:  Using manifest: {
  "ios": {
    "supportsTablet": true
  },
  "web": {
    "favicon": "./assets/favicon.png"
  },
  "icon": "./assets/icon.png",
  "name": "my-project",
  "slug": "my-project",
  "splash": {
    "image": "./assets/splash.png",
    "imageUrl": "https://d1wp6m56sqw74a.cloudfront.net/~assets/4dc203c1f48ad8b1e9734613e88be661",
    "resizeMode": "contain",
    "backgroundColor": "#ffffff"
  },
  "android": {
    "package": "com.prototype.prototype",
    "adaptiveIcon": {
      "backgroundColor": "#FFFFFF",
      "foregroundImage": "./assets/adaptive-icon.png",
      "foregroundImageUrl": "https://d1wp6m56sqw74a.cloudfront.net/~assets/97dae5a0e62ad8551d8a31897b425e63"
    }
  },
  "iconUrl": "https://d1wp6m56sqw74a.cloudfront.net/~assets/4e3f888fc8475f69fd5fa32f1ad5216a",
  "locales": {},
  "updates": {
    "fallbackToCacheTimeout": 0
  },
  "version": "1.0.0",
  "platforms": [
    "ios",
    "android",
    "web"
  ],
  "sdkVersion": "44.0.0",
  "orientation": "portrait",
  "dependencies": [
    "expo",
    "expo-status-bar",
    "react",
    "react-dom",
    "react-native",
    "react-native-web",
    "react-native-webview",
    "expo-screen-orientation"
  ],
  "bundledAssets": [],
  "currentFullName": "@lijekag319/my-project",
  "androidStatusBar": {
    "barStyle": "light-content",
    "translucent": false,
    "backgroundColor": "#000000"
  },
  "originalFullName": "@lijekag319/my-project",
  "id": "@lijekag319/my-project",
  "projectId": "df98e90e-575d-4943-b573-23d6d58d3386",
  "scopeKey": "@lijekag319/my-project",
  "releaseId": "f8c699a0-cdd5-473f-be28-dbdbb728f374",
  "revisionId": "1.0.0-r.rjXgIyiGc",
  "publishedTime": "2021-12-29T23:13:57.301Z",
  "commitTime": "2021-12-29T23:13:57.389Z",
  "bundleUrl": "https://d1wp6m56sqw74a.cloudfront.net/%40lijekag319%2Fmy-project%2F1.0.0%2F7d2773faf8131d9f9a77f58e20b7a946-44.0.0-android.js",
  "bundleKey": "7d2773faf8131d9f9a77f58e20b7a946",
  "releaseChannel": "default",
  "hostUri": "exp.host/@lijekag319/my-project"
}
  platform: "android"
  buildPhase: "reading manifest"
Dec 30 04:11:03 turtle[15166] INFO:  Starting build process
  platform: "android"
  buildPhase: "starting builder"
Dec 30 04:11:03 turtle[15166] INFO:  ImageUtils: setting image functions to alternative sharp implementations
  platform: "android"
  buildPhase: "icons setup"
Dec 30 04:11:03 turtle[15166] INFO:  Resolving universal modules dependencies
  platform: "android"
  buildPhase: "resolve native modules"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo:44.0.0-beta.2
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-application:4.0.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-constants:13.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-file-system:13.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-font:10.0.4
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-keep-awake:10.0.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-modules-core:0.6.2
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-ads-admob:12.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-ads-facebook:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-analytics-amplitude:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-analytics-segment:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-app-auth:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-apple-authentication:4.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-av:10.2.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-background-fetch:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-task-manager:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding unimodules-app-loader:3.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding unimodules-task-manager-interface:7.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-barcode-scanner:11.2.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-image-loader:3.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-battery:6.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-blur:11.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-brightness:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-calendar:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-camera:12.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-cellular:4.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-clipboard:2.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-contacts:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-crypto:10.1.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-device:4.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-document-picker:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-error-recovery:3.0.4
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-face-detector:11.1.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-facebook:12.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-firebase-analytics:6.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-firebase-core:4.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-gl:11.1.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-gl-cpp:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-google-sign-in:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-haptics:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-image-manipulator:10.2.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-image-picker:12.0.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-in-app-purchases:12.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-intent-launcher:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-json-utils:0.2.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-linear-gradient:11.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-local-authentication:12.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-localization:12.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-location:14.0.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-mail-composer:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-manifests:0.2.2
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-media-library:14.0.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-module-template:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-navigation-bar:1.1.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-network:4.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-notifications:0.14.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-permissions:13.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-print:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-screen-capture:4.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-screen-orientation:4.1.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-secure-store:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-sensors:11.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-sharing:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-sms:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-speech:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-splash-screen:0.14.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-sqlite:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-store-review:5.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-structured-headers:2.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-system-ui:1.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-tracking-transparency:2.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-updates:0.11.1
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-updates-interface:0.5.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-video-thumbnails:6.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Adding expo-web-browser:10.1.0
  platform: "android"
Dec 30 04:11:03 turtle[15166] INFO:  Using manifest: {"ios":{"supportsTablet":true},"web":{"favicon":"./assets/favicon.png"},"icon":"./assets/icon.png","name":"my-project","slug":"my-project","splash":{"image":"./assets/splash.png","imageUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/4dc203c1f48ad8b1e9734613e88be661","resizeMode":"contain","backgroundColor":"#ffffff"},"android":{"package":"com.prototype.prototype","adaptiveIcon":{"backgroundColor":"#FFFFFF","foregroundImage":"./assets/adaptive-icon.png","foregroundImageUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/97dae5a0e62ad8551d8a31897b425e63"}},"iconUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/4e3f888fc8475f69fd5fa32f1ad5216a","locales":{},"updates":{"fallbackToCacheTimeout":0},"version":"1.0.0","platforms":["ios","android","web"],"sdkVersion":"44.0.0","orientation":"portrait","dependencies":["expo","expo-status-bar","react","react-dom","react-native","react-native-web","react-native-webview","expo-screen-orientation"],"bundledAssets":[],"currentFullName":"@lijekag319/my-project","androidStatusBar":{"barStyle":"light-content","translucent":false,"backgroundColor":"#000000"},"originalFullName":"@lijekag319/my-project","id":"@lijekag319/my-project","projectId":"df98e90e-575d-4943-b573-23d6d58d3386","scopeKey":"@lijekag319/my-project","releaseId":"f8c699a0-cdd5-473f-be28-dbdbb728f374","revisionId":"1.0.0-r.rjXgIyiGc","publishedTime":"2021-12-29T23:13:57.301Z","commitTime":"2021-12-29T23:13:57.389Z","bundleUrl":"https://d1wp6m56sqw74a.cloudfront.net/%40lijekag319%2Fmy-project%2F1.0.0%2F7d2773faf8131d9f9a77f58e20b7a946-44.0.0-android.js","bundleKey":"7d2773faf8131d9f9a77f58e20b7a946","releaseChannel":"default","hostUri":"exp.host/@lijekag319/my-project"}
  platform: "android"
  buildPhase: "reading manifest"
Dec 30 04:11:10 turtle[15166] INFO:  Downloading https://services.gradle.org/distributions/gradle-6.9-all.zip
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:11:28 turtle[15166] INFO:  10
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:11:28 turtle[15166] INFO:  %.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:11:42 turtle[15166] INFO:  20%
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:11:56 turtle[15166] INFO:  30
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:11:56 turtle[15166] INFO:  %.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:12:09 turtle[15166] INFO:  40%
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:12:22 turtle[15166] INFO:  50%
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:12:36 turtle[15166] INFO:  60%.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:12:51 turtle[15166] INFO:  70
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:12:51 turtle[15166] INFO:  %.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:04 turtle[15166] INFO:  80%.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:15 turtle[15166] INFO:  90%
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:27 turtle[15166] INFO:  100%
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:  Welcome to Gradle 6.9!
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:  Here are the highlights of this release:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:   - This is a small backport release.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:   - Java 16 can be used to compile when used with Java toolchains
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:   - Dynamic versions can be used within plugin declarations
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:   - Native support for Apple Silicon processors
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:  For more details see https://docs.gradle.org/6.9/release-notes.html
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:31 turtle[15166] INFO:  Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Dec 30 04:13:37 turtle[15166] INFO:  FAILURE: Build failed with an exception.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  * Where:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  Settings file '/home/hichemfantar/.turtle/workingdir/android/sdk44/android-shell-app/settings.gradle' line: 12
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  * What went wrong:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  A problem occurred evaluating settings 'android-shell-app'.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  > String index out of range: 0
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  * Try:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  * Get more help at https://help.gradle.org
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] INFO:  BUILD FAILED in 2m 27s
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Dec 30 04:13:37 turtle[15166] ERROR: Error: ./gradlew exited with non-zero code: 1
    at ChildProcess.completionListener (/home/hichemfantar/.nvm/versions/node/v14.18.2/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/hichemfantar/.nvm/versions/node/v14.18.2/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/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/builders/android.ts:99:5)
    at buildAndroid (/home/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/builders/android.ts:31:26)
    at /home/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
    at Command. (/home/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
  platform: "android"
Dec 30 04:13:37 turtle[15166] ERROR: Failed to build standalone app
  err: Error: ./gradlew exited with non-zero code: 1
      at ChildProcess.completionListener (/home/hichemfantar/.nvm/versions/node/v14.18.2/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/hichemfantar/.nvm/versions/node/v14.18.2/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/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/builders/android.ts:99:5)
      at buildAndroid (/home/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/builders/android.ts:31:26)
      at /home/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
      at Command. (/home/hichemfantar/.nvm/versions/node/v14.18.2/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
  platform: "android"
 

Environment

 
  Expo CLI 5.0.3 environment info:
    System:
      OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
      Shell: 5.0.17 - /bin/bash
    Binaries:
      Node: 14.18.2 - ~/.nvm/versions/node/v14.18.2/bin/node
      npm: 6.14.15 - ~/.nvm/versions/node/v14.18.2/bin/npm
    npmPackages:
      expo: ~44.0.0 => 44.0.3 
      react: 17.0.1 => 17.0.1 
      react-dom: 17.0.1 => 17.0.1 
      react-native: 0.64.3 => 0.64.3 
      react-native-web: 0.17.1 => 0.17.1 
    npmGlobalPackages:
      expo-cli: 5.0.3
    Expo Workflow: managed
 
@hichemfantar hichemfantar added the bug Something isn't working label Dec 30, 2021
@hexdecimal16
Copy link

hey I fixed it. 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

2 participants