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

Another error on Nativescript 4+ with plugin 0.4.3 version #43

Open
kalininskiy opened this issue May 30, 2018 · 2 comments
Open

Another error on Nativescript 4+ with plugin 0.4.3 version #43

kalininskiy opened this issue May 30, 2018 · 2 comments

Comments

@kalininskiy
Copy link

Another error after update plugin to 0.4.3 version

Error is: Failed to build plugin nativescript-google-analytics :
Error: Command gradlew.bat failed with exit code 1 Error output:

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':releaseCompileClasspath'.
> Could not find runtime.jar (android.arch.lifecycle:runtime:1.0.0).
  Searched in the following locations:
      https://jcenter.bintray.com/android/arch/lifecycle/runtime/1.0.0/runtime-1.0.0.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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

BUILD FAILED in 15s
@n4lexeev
Copy link

same problem

@EddyVerbruggen
Copy link
Contributor

EddyVerbruggen commented Jun 13, 2018

It looks like this is a very widespread issue across a lot of different frameworks and plugins. NativeScript seems to have already fixed it for our beloveth framework though: NativeScript/android#1070 (the trick is to move jcenter() to the end of the list of repos.

I think you can try to upgrade tns-android to get the fix: tns platform add android@next

UPDATE: the fix is part of tns-android 4.1.3, so no need to use next anymore.

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

3 participants