Breaks compilation in Nativescript 3.3.0
See original GitHub issueHi
Great plugin, I really like it. 😃
I’ve noticed that the Google Maps Sdk plugin seems to break project compilation (at least to Android) after the Nativescript 3.3.0 update.
Here is the log I receive on a fresh project that worked prior to adding the plugin: `* What went wrong: Execution failed for task ‘:transformClassesWithDexForF0F1F2F3F4F5Debug’.
com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzbzv;
Unable to apply changes on device: emulator-5554. Error is: Command ./gradlew failed with exit code 1. `
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Breaks Compilation in Nativescript 3.3.0 when combined with ...
Thanks for the plugin, I've been using it for a while now. I've noticed that when I create a fresh Android project with...
Read more >Nativescript Angular iOS build failing - Stack Overflow
TLDR; you have a module in your package.json that isn't compatible with the angular version you're building. I'm running into the same error ......
Read more >Firebase Apple SDK Release Notes - Google
Index -related compile time errors when building with older Swift versions (#10171). ... Breaking change: import Firebase will no longer implicitly import ...
Read more >Gatsby Changelog | 5.3.0
We are proposing Breaking Changes for the next major version of Gatsby to our GraphQL API. The goal of this change is increasing...
Read more >NativeScript Webpack 0.9.0—What Changed and How to ...
NOTE: The NativeScriptAngularCompilerPlugin uses just-in-time compilation by default, and you need to use a separate flag to enable ahead-of- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hello all, sorry for the delay - did a search, and looks like it’s related to this: https://github.com/NativeScript/android-runtime/issues/878
This broke the ability to set global properties for this and alot of other plugins. Looks like it should be fixed in 3.3.1. So you can either try their release candidate (
ns platform add android@rc
), or go back to 3.2.0. Let me know if the rc version works.Hello ! I had the same error, this happens when there are different google play services version. Get the version from the android app.gradle file
Then set it to the node_modules/nativescript-google-maps-sdk/platforms/android/include.gradle
In my case I had to replace the “+” version with the “11.2.+”
Hope it can save you from banging your head against the walls as I did 😃