Debugging Android Apps Today is a problem:
Duplicate files copied in APK meta-inf/dependencies file 1:httpmime-4.3.2.jar file 2:httpmime-4.3.2.jar
It seems that two of the package inside the file is repeated or how, Google after a few is said to be the Android studio itself bug
Workaround:
Open the Build.gradle file below the project and add the following code to the Android code block
- Android {
- packagingoptions {
- Exclude ' meta-inf/dependencies '
- Exclude ' Meta-inf/notice '
- Exclude ' Meta-inf/license '
- Exclude ' meta-inf/license.txt '
- Exclude ' meta-inf/notice.txt '
- }
- }
Get rid of all these files, OK?
But do not know whether this will have any hidden trouble, there are other better solutions
Refer to this article: Http://stackoverflow.com/questions/20853094/gradle-and-android-studio-duplicate-file-copied-from-same-jar
Android Duplicate files copied in APK