AnsweredAssumed Answered

how to add two sdk of arcgis android in project?

Question asked by mahshidfv on Feb 22, 2017
Latest reply on May 3, 2017 by ANohe-esristaff

hi,i need version 10-2 and 100.0.0 of sdk arcgis android.when add both of them i have error.how i can fix it?

 

Error:Execution failed for task ':app:transformNative_libsWithMergeJniLibsForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK lib/x86/libruntimecore_java.so
File1: C:\Users\falah\AndroidStudioProjects\SelectMaP\app\build\intermediates\exploded-aar\com.esri.arcgis.android\arcgis-android\10.2.8-1\jni
File2: C:\Users\falah\AndroidStudioProjects\SelectMaP\app\build\intermediates\exploded-aar\com.esri.arcgisruntime\arcgis-android\100.0.0\jni

Outcomes