Build Failed due to com.android.dex.DexException:
See original GitHub issueI am using the plugins , cordova-plugin-playservices, cordova-plugin-google-analytics . When i add the plugn cordova-plugin-google-analytics, the build failed with the error :
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/actions/ReserveIntents;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:502)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
at com.android.dx.command.dexer.Main.run(Main.java:277)
at com.android.dx.command.dexer.Main.main(Main.java:245)
at com.android.dx.command.Main.main(Main.java:106)
Issue Analytics
- State:
- Created 8 years ago
- Comments:9
Top Results From Across the Web
Dex error On Android Studio 3.0 Beta4
I have same problem with Android Studio 3.0 beta 4. I found a solution. 1. From the Build menu, press the Clean Project...
Read more >Multiple dex files define Lcom/google/android/gms/internal ...
I got this error after linking the library with the Android project Unknown source file : UNEXPECTED TOP-LEVEL EXCEPTION: Unknown source ...
Read more >Gradle build fails. Multiple dex files define Lcom/google/ ...
Hello there, I am currently struggling to get my android apk to build. When I build I get an error that says: Build...
Read more >Multiple dex files error - Can't build any longer - Older Project
Hello, I see this issue is affecting lots of older projects. I was able to completely build my Ionic project and get it...
Read more >Multiple dex files define Lcom/google/unity/BuildConfig
Hi! I'm struggling to create a Unity build for Android (I'm new to Android as a platform). I get this error: Execution failed...
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
@betorobson thanks
i’m still looking for a solution…
Fetching plugin “com.danielcwilson.plugins.googleanalytics” via npm Error: Failed to fetch plugin com.danielcwilson.plugins.googleanalytics via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: Registry returned 404 for GET on https://registry.npmjs.org/com.danielcwilson.plugins.googleanalytics
Build failed.