-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Problem building nativescript-google-maps-sdk on Android #1081
Comments
Same problem for me. It's happening when NativeScript is generating
&
But that file got override each time & show error as above. I tried to prevent overriding & that time it worked. But need a good solution. |
@erjdriver got a working solution. You can try this:
Now delete platforms directory & try to rebuild the app. It should work. ref: https://stackoverflow.com/questions/50584437/android-studio-3-1-2-failed-to-resolve-runtime |
@jibon57 your solution works very well. |
This fixed the problem. Thank you. |
So I got it to build but only after I manually changed global installed nativescript's I think it's a bit too soon to close the issue. |
Here are my steps to reproduce: `` $ tns plugin add nativescript-google-maps-sdk Failed to build plugin nativescript-google-maps-sdk : FAILURE: Build failed with an exception.
BUILD FAILED in 0s |
Looks like in the latest version of build.gradle they moved one jcenter() but forgot to move the other one. Faulty version:
Working version:
|
😥 |
How is this marked as fixed? The only (working) work around involves modifying the nativescript library manually. This is not a practical or scalable solution. |
Guessing just not reopened, hang on |
@erjdriver, please re-open this. It needs to be fixed in the library. |
@sitefinitysteve, are you able to re-open this, or should I open a separate issue? I am finding this issue when trying to install other plugins as well and it is making the experience quite broken. |
Any fix for this??? I am facing the same problem and nothing helped! |
@odedBartov please open a new issue with the error you have received |
|
Hi, I've updating this plugin because it not so often maintained and I've updating the new renderer as well you can try it from here : github.com/kefahB/nativescript-google-maps |
Using NS 4.1, tns-core 4.1 and tns-android 4.1.
Getting the following error during build on Android
`Unable to apply changes on device: emulator-5554. Error is: Failed to build plugin nativescript-google-maps-sdk :
Error: Command ./gradlew failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':releaseCompileClasspath'.
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`
The problem seems to be it's looking for common-1.0.0.jar and it's not on that jcenter site.
This happens on android@4.1.0 - the build works on android@4.0.1
More detailed info on the plug-in page.
Issue on the plug-in site
The text was updated successfully, but these errors were encountered: