Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on build: Could not find io.sentry:sentry-android:2.0.0-rc04 #768

Closed
3 of 7 tasks
AdamGerthel opened this issue Feb 17, 2020 · 1 comment
Closed
3 of 7 tasks

Comments

@AdamGerthel
Copy link

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native
  • react-native-sentry

SDK version: 1.3.1
react-native version: 0.61.4


I have following issue:

Getting a following fatal error when building. AFAIK this did not happen just yesterday, but I just recently ejected from Expo so all of these non-Expo RN things are brand new to me. I've tried re-linking to no avail.

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find io.sentry:sentry-android:2.0.0-rc04.
     Searched in the following locations:
       - file:/Users/insats/Library/Android/sdk/extras/m2repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - file:/Users/insats/Library/Android/sdk/extras/m2repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
       - file:/Users/insats/Library/Android/sdk/extras/google/m2repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - file:/Users/insats/Library/Android/sdk/extras/google/m2repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
       - file:/Users/insats/Library/Android/sdk/extras/android/m2repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - file:/Users/insats/Library/Android/sdk/extras/android/m2repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
       - file:/Users/insats/.m2/repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - file:/Users/insats/.m2/repository/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
       - https://dl.google.com/dl/android/maven2/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - https://dl.google.com/dl/android/maven2/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
       - https://jcenter.bintray.com/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - https://jcenter.bintray.com/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
       - file:/Users/insats/Sites/cyoa-native/node_modules/react-native/android/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - file:/Users/insats/Sites/cyoa-native/node_modules/react-native/android/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
       - file:/Users/insats/Sites/cyoa-native/node_modules/jsc-android/dist/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.pom
       - file:/Users/insats/Sites/cyoa-native/node_modules/jsc-android/dist/io/sentry/sentry-android/2.0.0-rc04/sentry-android-2.0.0-rc04.jar
     Required by:
         project :app > project :@sentry_react-native

* Try:
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.

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

BUILD FAILED in 9s

    at checkExecSyncError (child_process.js:616:11)
    at execFileSync (child_process.js:634:13)
    at runOnAllDevices (/Users/insats/Sites/cyoa-native/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:39)
    at buildAndRun (/Users/insats/Sites/cyoa-native/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:179:41)
    at then.result (/Users/insats/Sites/cyoa-native/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:133:12)
    at process._tickCallback (internal/process/next_tick.js:68:7)
```
@AdamGerthel AdamGerthel changed the title Crashes on build Crashes on build: Could not find io.sentry:sentry-android:2.0.0-rc04 Feb 17, 2020
@marandaneto
Copy link
Contributor

hey, we already have an issue for that, please look at #767 there's a workaround over there, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants