AnsweredAssumed Answered

DuplicateFileException when running clean android app with arcgis-android:10.2.7 dependency

Question asked by gambit66 on Nov 30, 2015
Latest reply on Jan 5, 2016 by gambit66



I did a clean install of the latest Android Studio and I created a new Android app using the wizard. When I add the "compile ''" dependency to the gradle build file and run the app I get the following error:


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

> Duplicate files copied in APK META-INF/LICENSE

  File1: /Users/jacques/AndroidStudioProjects/BRAC/app/build/intermediates/exploded-aar/

  File2: /Users/jacques/AndroidStudioProjects/BRAC/app/build/intermediates/exploded-aar/


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.




When I change the dependency from stable to the Quartz beta "compile 'com.esri.arcgisruntime:arcgis-android:100.0.0-beta-1'", the app builds and runs fine.

Any ideas what could causing this with the stable SDK?