This is similar to the issue already posted (flurry) about a duplicate file exception, but this is with my own plugin.
I’m using build 2016.2902
I used the app template to start a new plugin. Other than renaming it from “library” to “blank” it is just the exact code from the template.
I add this blank plugin into the libs directory another “App” project without changing anything.
Error:Execution failed for task ‘:app:transformResourcesWithMergeJavaResForDebug’.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK network/LuaHelper.java.orig
File1: /Users/bob/dev/mobile/corona_enterprise/App/android/app/libs/plugin.blank.jar
File2: /Users/bob/dev/mobile/corona_enterprise/App/android/app/build/intermediates/exploded-aar/android/plugin/unspecified/jars/classes.jar
I filed a bug report.