nativescript-google-maps-sdk icon indicating copy to clipboard operation
nativescript-google-maps-sdk copied to clipboard

BUG: Failed to build plugin nativescript-google-maps-sdk, Could not find runtime.jar

Open hackerunet opened this issue 7 years ago • 4 comments

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"
      }
   ]
}

hackerunet avatar Jul 01 '18 01:07 hackerunet

That is a critical issue that should be handled really fast, plus it's a really quick thing to fix !!

Tronix117 avatar Aug 01 '18 13:08 Tronix117

I also facing this issue, is there a temp workaround?

learwebit avatar Aug 02 '18 05:08 learwebit

Yes, if you use nativescript@next, potentially with tns-android@next, you will not have the issue.

Tronix117 avatar Aug 02 '18 07:08 Tronix117

Any update on this? i am facing the same problem

odedBartov avatar Dec 07 '21 07:12 odedBartov