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

Error with Gradle #107

Open
jordanbisato opened this issue Jun 15, 2021 · 2 comments
Open

Error with Gradle #107

jordanbisato opened this issue Jun 15, 2021 · 2 comments

Comments

@jordanbisato
Copy link

jordanbisato commented Jun 15, 2021

When trying to build to a Android 10 using SDK10.0.GA on Windows i get the following error:

[INFO]  [GRADLE]
[INFO]  [GRADLE] > Task :app:mergeDebugJavaResource
[INFO]  [GRADLE] > Task :app:desugarDebugFileDependencies
[ERROR] [GRADLE]
[INFO]  [GRADLE] 37 actionable tasks: 37 executed
[ERROR] [GRADLE] FAILURE: Build failed with an exception.
[ERROR] [GRADLE]
[ERROR] [GRADLE] * What went wrong:
[ERROR] [GRADLE] Execution failed for task ':app:processDebugResources'.
[ERROR] [GRADLE] > In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.
[ERROR] [GRADLE]   1, 16.1.99]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
[ERROR] [GRADLE]
[ERROR] [GRADLE]   Dependency failing: com.onesignal:OneSignal:3.16.0 -> com.google.android.gms:play-services-base@[10.2.1, 16.1.99], but p
[ERROR] [GRADLE]   lay-services-base version was 17.5.0.
[ERROR] [GRADLE]
[ERROR] [GRADLE]   The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
[ERROR] [GRADLE]   ifact with the issue.
[ERROR] [GRADLE]   -- Project 'app' depends onto com.google.firebase:firebase-iid-interop@{strictly 17.0.0}
[ERROR] [GRADLE]   -- Project 'app' depends onto ti:[email protected]
[ERROR] [GRADLE]   -- Project 'app' depends onto com.google.android.gms:play-services-base@{strictly 17.5.0} [ERROR] [GRADLE]   -- Project 'app' depends onto com.williamrijksen:[email protected]
[ERROR] [GRADLE]   -- Project 'app' depends onto com.google.android.gms:play-services-location@{strictly 17.1.0}
[ERROR] [GRADLE]   -- Project 'app' depends onto com.onesignal:OneSignal@{strictly 3.16.0}
[ERROR] [GRADLE]   -- Project 'app' depends onto ti:playservices@{strictly 17.5.0}
[ERROR] [GRADLE]   -- Project 'app' depends onto com.google.firebase:firebase-iid@{strictly 21.0.1}
[ERROR] [GRADLE]   -- Project 'app' depends onto firebase:[email protected]
[ERROR] [GRADLE]   -- Project 'app' depends onto firebase:cloudmessaging@{strictly 3.1.0}
[ERROR] [GRADLE]   -- Project 'app' depends onto com.williamrijksen:onesignal@{strictly 3.0.0}
[ERROR] [GRADLE]   -- Project 'app' depends onto com.google.firebase:firebase-messaging@{strictly 21.0.1}
[ERROR] [GRADLE]
[ERROR] [GRADLE]   For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
[ERROR] [GRADLE]   endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
[ERROR] [GRADLE]   github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = true }" to your bu
[ERROR] [GRADLE]   ild.gradle file.
[ERROR] [GRADLE]
[ERROR] [GRADLE] * Try:
[ERROR] [GRADLE] 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.
[ERROR] [GRADLE]
[ERROR] [GRADLE] * Get more help at https://help.gradle.org
[ERROR] [GRADLE]
[ERROR] [GRADLE] BUILD FAILED in 3m 34s
[ERROR] "gradlew" tool returned exit code: 1```
@jordanbisato
Copy link
Author

jordanbisato commented Jun 15, 2021

I can build now after add this to my build.gradle

dependencies {
  implementation 'com.google.android.gms:play-services-base:[10.2.1, 16.1.99]'
}

apply plugin: 'com.google.gms.google-services'

googleServices { disableVersionCheck = true } 

But now i am receiving this error:

[ERROR] V8Exception: Exception occurred at ti:/kroll.js:1045: Uncaught Error: Requested module not found: hyperloop\hyperloop.bootstrap

@m1ga
Copy link

m1ga commented Dec 16, 2021

I've only had to add googleServices { disableVersionCheck = true } perhaps that will fix the hyperloop part again. Added that info + some updated dependencies in AbdullahFaqeir#1

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