question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After Big Sur update turtle build:android stopped working

See original GitHub issue

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.io (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

After I updated my mac machine to Big Sur, the command for android builds stopped working.

Command executed
turtle build:android --release-channel v-2.12.0 -u ******* -p ********* -t apk --keystore-path /Users/****/Documents/Keys/my-kid.jks --keystore-alias ****-alias
Complete output when running turtle, including the stack trace and command used
Jan 12 10:06:47 turtle[3835] INFO:  Configuration on demand is an incubating feature.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:49 turtle[3835] INFO:  > Configure project :app
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:49 turtle[3835] INFO:  WARNING: The option setting 'android.useNewApkCreator=false' is experimental.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:49 turtle[3835] INFO:  The current default is 'true'.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:49 turtle[3835] INFO:  AWS Device Farm Plugin version 1.3
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:  Installing unimodules:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-core@6.0.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/@unimodules/core
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-react-native-adapter@5.7.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/@unimodules/react-native-adapter
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-ads-admob@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-ads-admob
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-ads-facebook@8.4.1 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-ads-facebook
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-analytics-amplitude@9.0.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-analytics-amplitude
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-analytics-segment@9.1.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-analytics-segment
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-app-auth@9.3.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-app-auth
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-application@2.4.1 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-application
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-av@8.7.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-av
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-background-fetch@8.6.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-background-fetch
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-barcode-scanner@9.1.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-barcode-scanner
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-battery@3.1.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-battery
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-brightness@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-brightness
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-calendar@8.6.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-calendar
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-camera@9.1.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-camera
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-cellular@2.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-cellular
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-constants@9.3.3 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-constants
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-contacts@8.6.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-contacts
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-crypto@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-crypto
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-device@2.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-device
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-document-picker@8.4.1 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-document-picker
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-error-recovery@1.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-error-recovery
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-face-detector@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-face-detector
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-facebook@9.1.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-facebook
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-file-system@9.3.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-file-system
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-firebase-analytics@2.6.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-firebase-analytics
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-firebase-core@1.3.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-firebase-core
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-font@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-font
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-gl-cpp@9.2.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-gl-cpp
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-gl@9.2.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-gl
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-google-sign-in@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-google-sign-in
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-haptics@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-haptics
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-image-loader@1.3.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-image-loader
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-image-manipulator@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-image-manipulator
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-image-picker@9.2.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-image-picker
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-intent-launcher@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-intent-launcher
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-keep-awake@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-keep-awake
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-linear-gradient@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-linear-gradient
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-local-authentication@9.5.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-local-authentication
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-localization@9.1.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-localization
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-location@10.0.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-location
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-mail-composer@9.0.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-mail-composer
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-media-library@10.0.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-media-library
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-network@2.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-network
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-notifications@0.8.2 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-notifications
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-permissions@10.0.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-permissions
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-print@9.2.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-print
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-screen-capture@2.0.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-screen-capture
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-screen-orientation@2.1.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-screen-orientation
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-secure-store@9.3.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-secure-store
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-sensors@9.2.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-sensors
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-sharing@8.5.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-sharing
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-sms@8.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-sms
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-speech@8.5.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-speech
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-splash-screen@0.8.1 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-splash-screen
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-sqlite@8.5.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-sqlite
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-store-review@2.3.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-store-review
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-task-manager@8.6.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-task-manager
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-updates@0.4.1 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-updates
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-video-thumbnails@4.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-video-thumbnails
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   expo-web-browser@8.6.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/expo-web-browser
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-app-loader@1.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-app-loader
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-barcode-scanner-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-barcode-scanner-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-camera-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-camera-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-constants-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-constants-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-face-detector-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-face-detector-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-file-system-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-file-system-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-font-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-font-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-image-loader-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-image-loader-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-permissions-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-permissions-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-sensors-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-sensors-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:   unimodules-task-manager-interface@5.4.0 from /Users/************/.turtle/workingdir/android/sdk40/packages/unimodules-task-manager-interface
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:  Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:  Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:50 turtle[3835] INFO:  registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:preBuild UP-TO-DATE
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:extractProguardFiles
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:preReleaseBuild
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:compileReleaseAidl NO-SOURCE
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:compileReleaseRenderscript NO-SOURCE
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:generateReleaseBuildConfig
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:generateReleaseResValues
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:generateReleaseResources
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  > Task :app:processReleaseGoogleServices
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:51 turtle[3835] INFO:  Parsing json file: /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/google-services.json
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:createReleaseCompatibleScreenManifests
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:extractDeepLinksRelease
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:processReleaseManifest
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:36:1-94 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      Element uses-permission#android.permission.SYSTEM_ALERT_WINDOW at AndroidManifest.xml:36:1-94 duplicated with element declared at AndroidManifest.xml:16:3-76
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:26:1-101 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#android.permission.ACCESS_BACKGROUND_LOCATION was tagged at AndroidManifest.xml:26 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:27:1-87 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#android.permission.RECORD_AUDIO was tagged at AndroidManifest.xml:27 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:29:1-89 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#android.permission.WRITE_CONTACTS was tagged at AndroidManifest.xml:29 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:35:1-91 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#android.permission.READ_PHONE_STATE was tagged at AndroidManifest.xml:35 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:36:1-94 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#android.permission.SYSTEM_ALERT_WINDOW was tagged at AndroidManifest.xml:36 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:37:1-83 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#android.permission.READ_SMS was tagged at AndroidManifest.xml:37 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:38:1-99 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#android.permission.REQUEST_INSTALL_PACKAGES was tagged at AndroidManifest.xml:38 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:41:1-104 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      uses-permission#com.android.launcher.permission.INSTALL_SHORTCUT was tagged at AndroidManifest.xml:41 to remove other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  /Users/************/.turtle/workingdir/android/sdk40/android-shell-app/app/src/main/AndroidManifest.xml:17:9-26:20 Warning:
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:      provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:17 to replace other declarations but no other declaration present
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:prepareLintJar
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:mergeReleaseShaders
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:compileReleaseShaders NO-SOURCE
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:generateReleaseAssets UP-TO-DATE
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:mergeReleaseAssets
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:checkReleaseDuplicateClasses
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:53 turtle[3835] INFO:  > Task :app:processReleaseJavaRes NO-SOURCE
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:54 turtle[3835] INFO:  > Task :app:collectReleaseDependencies
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:54 turtle[3835] INFO:  > Task :app:sdkReleaseDependencyData
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:54 turtle[3835] INFO:  > Task :app:mergeReleaseJniLibFolders
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:54 turtle[3835] INFO:  > Task :app:validateSigningRelease
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:54 turtle[3835] INFO:  > Task :app:mergeReleaseResources
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:55 turtle[3835] INFO:  > Task :app:processReleaseResources
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:55 turtle[3835] INFO:  > Task :app:javaPreCompileRelease
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:56 turtle[3835] INFO:  > Task :app:compileReleaseJavaWithJavac FAILED
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:56 turtle[3835] INFO:  > Task :app:mergeReleaseNativeLibs
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:56 turtle[3835] INFO:  > Task :app:mergeReleaseJavaResource
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:56 turtle[3835] INFO:  FAILURE: Build failed with an exception.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Jan 12 10:06:56 turtle[3835] INFO:  * What went wrong:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Jan 12 10:06:56 turtle[3835] INFO:  Execution failed for task ':app:compileReleaseJavaWithJavac'.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Jan 12 10:06:56 turtle[3835] INFO:  > Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Jan 12 10:06:56 turtle[3835] INFO:  * Try:
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Jan 12 10:06:56 turtle[3835] 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"
Jan 12 10:06:56 turtle[3835] INFO:  * Get more help at https://help.gradle.org
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Jan 12 10:06:56 turtle[3835] INFO:  BUILD FAILED in 14s
  platform: "android"
  buildPhase: "running gradle"
  source: "stderr"
Jan 12 10:06:56 turtle[3835] INFO:  Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:56 turtle[3835] INFO:  Use '--warning-mode all' to show the individual deprecation warnings.
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:56 turtle[3835] INFO:  See https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:56 turtle[3835] INFO:  21 actionable tasks: 21 executed
  platform: "android"
  buildPhase: "running gradle"
  source: "stdout"
Jan 12 10:06:57 turtle[3835] ERROR: Error: ./gradlew exited with non-zero code: 1
    at ChildProcess.completionListener (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
    at Object.onceWrapper (events.js:421:26)
    at ChildProcess.emit (events.js:314:20)
    at ChildProcess.EventEmitter.emit (domain.js:483:12)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:443:11)
    at Socket.emit (events.js:314:20)
    at Socket.EventEmitter.emit (domain.js:483:12)
    at Pipe.<anonymous> (net.js:676:12)
    ...
    at spawnAsync (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
    at spawnAsyncThrowError (/@expo/xdl@58.0.20/src/detach/ExponentTools.ts:111:19)
    at buildShellAppAsync (/@expo/xdl@58.0.20/src/detach/AndroidShellApp.js:1471:11)
    at Object.createAndroidShellAppAsync (/@expo/xdl@58.0.20/src/detach/AndroidShellApp.js:380:5)
    at runShellAppBuilder (/usr/local/lib/node_modules/turtle-cli/src/builders/android.ts:91:5)
    at buildAndroid (/usr/local/lib/node_modules/turtle-cli/src/builders/android.ts:23:26)
    at /usr/local/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
    at Command.<anonymous> (/usr/local/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
  platform: "android"
Jan 12 10:06:57 turtle[3835] ERROR: Failed to build standalone app
  err: Error: ./gradlew exited with non-zero code: 1
      at ChildProcess.completionListener (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13)
      at Object.onceWrapper (events.js:421:26)
      at ChildProcess.emit (events.js:314:20)
      at ChildProcess.EventEmitter.emit (domain.js:483:12)
      at maybeClose (internal/child_process.js:1021:16)
      at Socket.<anonymous> (internal/child_process.js:443:11)
      at Socket.emit (events.js:314:20)
      at Socket.EventEmitter.emit (domain.js:483:12)
      at Pipe.<anonymous> (net.js:676:12)
      ...
      at spawnAsync (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
      at spawnAsyncThrowError (/@expo/xdl@58.0.20/src/detach/ExponentTools.ts:111:19)
      at buildShellAppAsync (/@expo/xdl@58.0.20/src/detach/AndroidShellApp.js:1471:11)
      at Object.createAndroidShellAppAsync (/@expo/xdl@58.0.20/src/detach/AndroidShellApp.js:380:5)
      at runShellAppBuilder (/usr/local/lib/node_modules/turtle-cli/src/builders/android.ts:91:5)
      at buildAndroid (/usr/local/lib/node_modules/turtle-cli/src/builders/android.ts:23:26)
      at /usr/local/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7
      at Command.<anonymous> (/usr/local/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
  platform: "android"

Environment

  Expo CLI 4.0.17 environment info:
    System:
      OS: macOS 11.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 12.19.0 - /usr/local/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 6.14.11 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.8.4 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 14.3, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
      Android SDK:
        API Levels: 24, 25, 28, 29, 30
        Build Tools: 28.0.3, 29.0.2, 30.0.2
        System Images: android-24 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
    IDEs:
      Xcode: 12.3/12C33 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^40.0.0 => 40.0.0 
      react: ^17.0.1 => 17.0.1 
      react-dom: ^17.0.1 => 17.0.1 
      react-native: 0.63.4 => 0.63.4 
      react-native-web: ^0.14.10 => 0.14.10 
    npmGlobalPackages:
      expo-cli: 4.0.17
    Expo Workflow: managed

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

4reactions
jparksecuritycommented, Jan 26, 2021

I had the same issue.

I referred to https://stackoverflow.com/a/64864365

I set up export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_{whatever version you're using}.jdk/Contents/Home. and I followed https://www.talkapex.com/2020/11/sqldeveloper-in-macos-big-sur/

0reactions
levierafcommented, Feb 15, 2021

I had the same issue.

I referred to https://stackoverflow.com/a/64864365

I set up export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_{whatever version you're using}.jdk/Contents/Home. and I followed https://www.talkapex.com/2020/11/sqldeveloper-in-macos-big-sur/

thank you bro! its working now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix this error while running expo build android?
Solution - March 2021 (on macOs - Big Sur). Error keytool exited with non-zero code: 1. enter image description here.
Read more >
Building Standalone Apps - Expo Documentation
Classic Build service allows you to create standalone binaries for the Expo app using the Expo CLI. You can use that binary to...
Read more >
Python - Termux Wiki
Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python's design ...
Read more >
Stops and things to do on Sacramento to Big Sur drive or road ...
The top stops along the way from Sacramento to Big Sur (with short detours) are Monterey Bay Aquarium, Ferry Building, and 17 Mile...
Read more >
ScreenSaverNow on the Mac App Store - Apple
Any Mac (Apple Silicon, Intel) version for macOS Big Sur --- ... to a keyboard shortcut, but for whatever reason this is not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found