You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
[ x] I enclosed the complete output when running turtle, including the stack trace and command used.
Issue Description
I am attempting to build an apk of my react-native project with turtle, but the repository it relies on (for some reason it is under exoplayer) returns a 502 error: https://google.bintray.com/exoplayer/com/facebook/react/react-native/maven-metadata.xml. I would like to replace this repository with maven central because JCenter has been decommissioned.
Complete output when running turtle, including the stack trace and command used
Jan 26 10:43:09 turtle[53102] INFO: FAILURE: Build failed with an exception.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: * What went wrong:
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: Could not determine the dependencies of task ':app:processReleaseResources'.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: >
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: > Could not resolve com.facebook.react:react-native:+.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: Required by:
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: project :app
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: project :app > org.unimodules:unimodules-react-native-adapter:5.4.0
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: > Failed to list versions for com.facebook.react:react-native.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: > Unable to load Maven meta-data from https://google.bintray.com/exoplayer/com/facebook/react/react-native/maven-metadata.xml.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: > Could not get resource 'https://google.bintray.com/exoplayer/com/facebook/react/react-native/maven-metadata.xml'.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: > Could not GET 'https://google.bintray.com/exoplayer/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: * Try:
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] 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 26 10:43:09 turtle[53102] INFO: * Get more help at https://help.gradle.org
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] INFO: Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
platform: "android"
buildPhase: "running gradle"
source: "stdout"
Jan 26 10:43:09 turtle[53102] INFO: Use '--warning-mode all' to show the individual deprecation warnings.
platform: "android"
buildPhase: "running gradle"
source: "stdout"
Jan 26 10:43:09 turtle[53102] INFO: See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
platform: "android"
buildPhase: "running gradle"
source: "stdout"
Jan 26 10:43:09 turtle[53102] INFO: BUILD FAILED in 17s
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Jan 26 10:43:09 turtle[53102] 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:422:26)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:486:12)
at maybeClose (internal/child_process.js:1048:16)
at Socket. (internal/child_process.js:439:11)
at Socket.emit (events.js:315:20)
at Socket.EventEmitter.emit (domain.js:486:12)
at Pipe. (net.js:673:12)
...
at spawnAsync (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
at spawnAsyncThrowError (/@expo/xdl@59.1.0/src/detach/ExponentTools.ts:111:19)
at buildShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:1476:11)
at Object.createAndroidShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:380:5)
at runShellAppBuilder (/usr/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. (/usr/local/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
platform: "android"
Jan 26 10:43:09 turtle[53102] 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:422:26)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:486:12)
at maybeClose (internal/child_process.js:1048:16)
at Socket. (internal/child_process.js:439:11)
at Socket.emit (events.js:315:20)
at Socket.EventEmitter.emit (domain.js:486:12)
at Pipe. (net.js:673:12)
...
at spawnAsync (/usr/local/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19)
at spawnAsyncThrowError (/@expo/xdl@59.1.0/src/detach/ExponentTools.ts:111:19)
at buildShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:1476:11)
at Object.createAndroidShellAppAsync (/@expo/xdl@59.1.0/src/detach/AndroidShellApp.js:380:5)
at runShellAppBuilder (/usr/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. (/usr/local/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
Environment
Expo CLI 4.9.1 environment info:
System:
OS: macOS 11.2.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.15.1 - ~/.nvm/versions/node/v14.15.1/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.15.1/bin/npm
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK:
API Levels: 30
Build Tools: 30.0.3, 31.0.0
System Images: android-24 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6858069
Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
npmPackages:
expo: 38.0.0 => 38.0.0
react: 16.11.0 => 16.11.0
react-dom: 16.11.0 => 16.11.0
react-native: https://github.com/expo/react-native/archive/sdk-38.0.0.tar.gz => 0.62.2
react-native-web: ~0.11.7 => 0.11.7
Expo Workflow: managed
The text was updated successfully, but these errors were encountered:
New Issue Checklist
yarn global add turtle-cli
ornpm install --global turtle-cli
).Issue Description
I am attempting to build an apk of my react-native project with turtle, but the repository it relies on (for some reason it is under exoplayer) returns a 502 error: https://google.bintray.com/exoplayer/com/facebook/react/react-native/maven-metadata.xml. I would like to replace this repository with maven central because JCenter has been decommissioned.
Command executed
NODE_TLS_REJECT_UNAUTHORIZED=0 EXPO_ANDROID_KEYSTORE_PASSWORD="INSERT_PASSWORD" EXPO_ANDROID_KEY_PASSWORD="INSERT_PASSWORD" turtle build:android --type apk --keystore-path "./certs/keystore.jks" --keystore-alias "keyalias" --public-url https://127.0.0.1/android-index.json -o ./app.apk
Complete output when running turtle, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: