frankiesardo / auto-parcel

Android Parcelable models made easy
Eclipse Public License 1.0
1.37k stars 83 forks source link

Duplicate files copied in APK project.clj #53

Open iverc opened 7 years ago

iverc commented 7 years ago

First time I ran the app with AutoParcel enabled was ok. But the next run throws this error and the won't run unless I remove compile 'frankiesardo:auto-parcel:1.0.3' annotationProcessor 'frankiesardo:auto-parcel:1.0.3' from build.gradle

Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.

com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK project.clj File1: /Users/admin/.gradle/caches/modules-2/files-2.1/stencil/stencil/0.3.5/395c7f24901890f367387a122266b201d3008205/stencil-0.3.5.jar File2: /Users/admin/.gradle/caches/modules-2/files-2.1/slingshot/slingshot/0.10.3/ea80c69fdeb11687a3bd1ba6bb30ec4a41eea7a0/slingshot-0.10.3.jar File3: /Users/admin/.gradle/caches/modules-2/files-2.1/quoin/quoin/0.1.2/dbbb28df3e337233f934468915eb327ff488172/quoin-0.1.2.jar

sandeeppatel1986 commented 7 years ago

Remove compile 'frankiesardo:auto-parcel:1.0.3'

hendercine commented 7 years ago

@sandeeppatel1986 Removing compile or provided did not solve the error for me...