turtle build:android error: Could not find com.github.Raizlabs.DBFlow:dbflow-core:4.2.4
See original GitHub issueNew Issue Checklist
- Updated turtle-cli to the latest version (
yarn global add turtle-cli
ornpm 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
Build fails with error:
Mar 22 12:28:30 turtle[3166] INFO: FAILURE: Build failed with an exception.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Mar 22 12:28:30 turtle[3166] INFO: * What went wrong:
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Mar 22 12:28:30 turtle[3166] INFO: Could not determine the dependencies of task ':app:lintVitalRelease'.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Mar 22 12:28:30 turtle[3166] INFO: > Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Mar 22 12:28:30 turtle[3166] INFO: > Could not find com.github.Raizlabs.DBFlow:dbflow-core:4.2.4.
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Mar 22 12:28:30 turtle[3166] INFO: Required by:
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Mar 22 12:28:30 turtle[3166] INFO: project :app > host.exp.exponent:expoview:40.0.0
platform: "android"
buildPhase: "running gradle"
source: "stderr"
Command executed
turtle build:android --type=apk --output=build/app.apk --public-url http://localhost:5000/android-index.json --allow-non-https-public-url --keystore-path ./keystore.jks --keystore-alias $EXPO_ANDROID_KEYSTORE_ALIAS
Complete output when running turtle, including the stack trace and command used
turtle build:android --type=apk --output=build/polaris.apk --public-url http://localhost:5000/android-index.json --allow-non-https-public-url --keystore-path ./keystore.jks --keystore-alias *** Mar 22 12:26:06 turtle[3166] INFO: shell app for SDK 40.0.0 doesn't exist, downloading... platform: "android" buildPhase: "setting up environment" Mar 22 12:26:08 turtle[3166] INFO: shell app has been downloaded platform: "android" buildPhase: "setting up environment" Mar 22 12:26:08 turtle[3166] INFO: extracting shell app (this may take a while)... platform: "android" buildPhase: "setting up environment" Mar 22 12:26:11 turtle[3166] INFO: shell app extracted platform: "android" buildPhase: "setting up environment" Mar 22 12:26:11 turtle[3166] INFO: installing dependencies in /home/runner/.turtle/workingdir/android/sdk40 directory... platform: "android" buildPhase: "setting up environment" Mar 22 12:26:11 turtle[3166] INFO: info No lockfile found. platform: "android" buildPhase: "setting up environment" source: "stdout" Mar 22 12:26:12 turtle[3166] INFO: [1/4] Resolving packages... platform: "android" buildPhase: "setting up environment" source: "stdout" Mar 22 12:26:12 turtle[3166] INFO: warning react-native-unimodules > expo-constants > fbjs > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. platform: "android" buildPhase: "setting up environment" source: "stderr" Mar 22 12:26:14 turtle[3166] INFO: warning workspace-aggregator-7b7ccf54-bd3b-4e84-8bf6-2f6bd279d186 > expo-ads-facebook > fbemitter > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. platform: "android" buildPhase: "setting up environment" source: "stderr" Mar 22 12:26:14 turtle[3166] INFO: warning workspace-aggregator-7b7ccf54-bd3b-4e84-8bf6-2f6bd279d186 > @expo/danger > danger > @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information. platform: "android" Mar 22 12:28:30 turtle[3166] INFO: project :app > host.exp.exponent:expoview:40.0.0 platform: "android" buildPhase: "running gradle" source: "stderr" Mar 22 12:28:30 turtle[3166] INFO: > Could not find com.github.Raizlabs.DBFlow:dbflow:4.2.4. platform: "android" buildPhase: "running gradle" source: "stderr" Mar 22 12:28:30 turtle[3166] INFO: Required by: platform: "android" buildPhase: "running gradle" source: "stderr" Mar 22 12:28:30 turtle[3166] INFO: project :app > host.exp.exponent:expoview:40.0.0 platform: "android" buildPhase: "running gradle" source: "stderr" Mar 22 12:28:30 turtle[3166] INFO: * Try: platform: "android" buildPhase: "running gradle" source: "stderr" Mar 22 12:28:30 turtle[3166] 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" Mar 22 12:28:30 turtle[3166] INFO: * Get more help at https://help.gradle.org platform: "android" buildPhase: "running gradle" source: "stderr" Mar 22 12:28:30 turtle[3166] INFO: BUILD FAILED in 1m 30s platform: "android" buildPhase: "running gradle" source: "stderr" Mar 22 12:28:31 turtle[3166] ERROR: Error: ./gradlew exited with non-zero code: 1 at ChildProcess.completionListener (/home/runner/work/polaris/polaris/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13) at Object.onceWrapper (events.js:422:26) at ChildProcess.emit (events.js:315:20) at ChildProcess.EventEmitter.emit (domain.js:467:12) at maybeClose (internal/child_process.js:1048:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) ... at spawnAsync (/home/runner/work/polaris/polaris/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19) at spawnAsyncThrowError (/@expo/xdl@59.0.17/src/detach/ExponentTools.ts:111:19) at buildShellAppAsync (/@expo/xdl@59.0.17/src/detach/AndroidShellApp.js:1476:11) at Object.createAndroidShellAppAsync (/@expo/xdl@59.0.17/src/detach/AndroidShellApp.js:380:5) at runShellAppBuilder (/home/runner/work/polaris/polaris/node_modules/turtle-cli/src/builders/android.ts:91:5) at buildAndroid (/home/runner/work/polaris/polaris/node_modules/turtle-cli/src/builders/android.ts:23:26) at /home/runner/work/polaris/polaris/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7 at Command.<anonymous> (/home/runner/work/polaris/polaris/node_modules/turtle-cli/src/bin/index.ts:23:12) platform: "android" Mar 22 12:28:31 turtle[3166] ERROR: Failed to build standalone app err: Error: ./gradlew exited with non-zero code: 1 at ChildProcess.completionListener (./node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13) at Object.onceWrapper (events.js:422:26) at ChildProcess.emit (events.js:315:20) at ChildProcess.EventEmitter.emit (domain.js:467:12) at maybeClose (internal/child_process.js:1048:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) ... at spawnAsync (./node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19) at spawnAsyncThrowError (/@expo/xdl@59.0.17/src/detach/ExponentTools.ts:111:19) at buildShellAppAsync (/@expo/xdl@59.0.17/src/detach/AndroidShellApp.js:1476:11) at Object.createAndroidShellAppAsync (/@expo/xdl@59.0.17/src/detach/AndroidShellApp.js:380:5) at runShellAppBuilder (./node_modules/turtle-cli/src/builders/android.ts:91:5) at buildAndroid (./node_modules/turtle-cli/src/builders/android.ts:23:26) at ./node_modules/turtle-cli/src/bin/utils/builder.ts:87:7 at Command.<anonymous> (./node_modules/turtle-cli/src/bin/index.ts:23:12) platform: "android"
Environment
Expo CLI 4.3.2 environment info: System: OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa) Shell: 5.0.17 - /bin/bash Binaries: Node: 14.16.0 - /opt/hostedtoolcache/node/14.16.0/x64/bin/node Yarn: 1.22.5 - /usr/bin/yarn npm: 6.14.11 - /opt/hostedtoolcache/node/14.16.0/x64/bin/npm SDKs: Android SDK: API Levels: 27, 28, 29, 30 Build Tools: 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3 Android NDK: 21.4.7075529 npmPackages: @expo/webpack-config: ~0.12.45 => 0.12.63 expo: ^40.0.0 => 40.0.1 react: 16.13.1 => 16.13.1 react-dom: 16.13.1 => 16.13.1 react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2 react-native-web: ~0.13.12 => 0.13.18 Expo Workflow: managed
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Not able to resolve 4.2.4 artifacts · Issue #1717 - GitHub
Description: Could not resolve all artifacts for configuration ':core:releaseCompileClasspath'. Could not find com.github.Raizlabs.DBFlow:dbflow ...
Read more >Could not find com.github.Raizlabs.DBFlow:dbflow-core:4.0.0 ...
when i try to install this library on my android project i get this error: Error:Could not find com.github.Raizlabs.
Read more >Error:Could not find com.github.Raizlabs.DBFlow:dbflow ...
I have set jCenter() and apt plugin. Error:Could not find com.github.Raizlabs.DBFlow:dbflow-processor:3.0.0-beta2. Searched in the following ...
Read more >Could not find com.raizlabs.android.DBFlow:dbflow-processor ...
I have included dependencies { classpath 'com.android.tools.build:gradle:1.5.0' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' ...
Read more >Failed to build android app on turtle 0.22.5 and 0.21.9-alpha.4
turtle /workingdir but the problem is still the same err: Error: Unable to read /home/ubuntu/.cache/expo/turtle-cli-updates.json. SyntaxError: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried turtle build now and works fine!!
see https://github.com/agrosner/DBFlow/issues/1717