nativescript-google-maps-sdk
nativescript-google-maps-sdk copied to clipboard
BUG: Failed to build plugin nativescript-google-maps-sdk, Could not find runtime.jar
Hello, I have the following error using this plugin:
Failed to build plugin nativescript-google-maps-sdk :
Error: Command ./gradlew 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
> Could not find common.jar (android.arch.core:common:1.0.0).
Searched in the following locations:
https://jcenter.bintray.com/android/arch/core/common/1.0.0/common-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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
This is very simple, the .jar libraries used in this plugin are not available in the jcenter repositories, please update those resources and release a new version, it should be very simple to fix, read carefully, the files: https://jcenter.bintray.com/android/arch/lifecycle/runtime/1.0.0/runtime-1.0.0.jar https://jcenter.bintray.com/android/arch/core/common/1.0.0/common-1.0.0.jar Doesn't exist in such repositories:
{
errors:[
{
status:404,
message:"Could not find resource"
}
]
}
That is a critical issue that should be handled really fast, plus it's a really quick thing to fix !!
I also facing this issue, is there a temp workaround?
Yes, if you use nativescript@next, potentially with tns-android@next, you will not have the issue.
Any update on this? i am facing the same problem