Question by
Rodrigo-Magnus · Sep 16, 2019 at 08:41 PM ·
errorandroid buildduplicateentryjavascript class
Android Gradle Build Error - Duplicate Entry
I am in the process of finalizing a legacy project, so most android plugins were not imported by me. What happens is that the android build of the game needed several repairs, I was repairing one by one until I got this:
* What went wrong:
Execution failed for task ':transformClassesWithMultidexlistForDebug'.
> java.io.IOException: Can't write [D:\Unity Projects\UntilDeadProject\Temp\gradleOut\build\intermediates\multi-dex\debug\componentClasses.jar] (Can't read [C:\Users\Magnus\.gradle\caches\transforms-1\files-1.1\com.google.android.gms.play-services-basement-16.0.1.aar\8b828fa48b53b402b5e113db89b6e88b\jars\classes.jar(;;;;;;**.class)] (Duplicate zip entry [classes.jar:com/google/android/gms/common/annotation/KeepForSdk.class]))
I have attached two images, one containing the gradle configuration file and another with the print from my androids plugins folder.
build3.png
(32.3 kB)
screenshot-8.png
(34.1 kB)
Comment
Your answer
Follow this Question
Related Questions
Game Crashes On Startup in Android Phone? 0 Answers
Can't build apk getting error 0 Answers
Error during building 1 Answer
Android Build Problem. Strange case. 1 Answer