Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Packager: [main] java.util.zip.ZipException: duplicate entry: classes.dex

I'm building an Android application in IntelliJ IDEA . I am using the most recent Android SDK tools as of 10/22/2013 which goes up to API level 18 for the recently released Android 4.3. My build target is Android 4.3 and my Java SDK is 1.7.

When I attempt to build my application, the build fails with the following message:

Android Packager: [main] java.util.zip.ZipException: duplicate entry: classes.dex

like image 825
Raaja Avatar asked Oct 22 '13 09:10

Raaja


2 Answers

I had the same problem as yours just now.Actually,you don't have to reinstall IDE,just rebuild the project.It works here.

like image 98
smileVann Avatar answered Oct 06 '22 01:10

smileVann


  • Have you tried clean project ?
  • Manually go to 'bin' directory and remove everything, and try to build your project now.
  • Is this project depends on any library project ?, If so try to clean and build that project.
like image 44
Jayasagar Avatar answered Oct 06 '22 01:10

Jayasagar