This repository was archived by the owner on Nov 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 77
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Breaks Compilation in Nativescript 3.3.0 when combined with Nativescript-google-maps-sdk #92
Copy link
Copy link
Closed
Description
Hi All
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 nativescript-google-maps-sdk and nativescript-geolocation it produces the following error:
Gradle build...
+ applying user-defined configuration from C:\Users\New\Desktop\geolocation\app\App_Resources\Android\app.gradle
+ add include.gradle from C:\Users\New\Desktop\geolocation\node_modules\nativescript-geolocation\platforms\android\include.gradle
+ add include.gradle from C:\Users\New\Desktop\geolocation\node_modules\nativescript-google-maps-sdk\platforms\android\include.gradle
+ creating include.gradle for plugin C:\Users\New\Desktop\geolocation\node_modules\tns-core-modules-widgets
+ applying plugin configuration from C:\Users\New\Desktop\geolocation\platforms\android\build\configurations\nativescript-geolocation\include.gradle
+ applying plugin configuration from C:\Users\New\Desktop\geolocation\platforms\android\build\configurations\nativescript-google-maps-sdk\include.gradle
+ applying plugin configuration from C:\Users\New\Desktop\geolocation\platforms\android\build\configurations\tns-core-modules-widgets\include.gradle
+ adding nativescript runtime package dependency: nativescript-optimized
+ adding aar plugin dependency: C:\Users\New\Desktop\geolocation\node_modules\tns-core-modules-widgets\platforms\android\widgets-release.aar
Running full build
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':transformClassesWithDexForF0F1F2Debug'.
> 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;
Interestingly, both plugins work by themselves in projects but when added to a new project it breaks. Any ideas?
Thanks for your help
Metadata
Metadata
Assignees
Labels
No labels