Raaja
Raaja

Reputation: 97

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

Upvotes: 7

Views: 10000

Answers (2)

smileVann
smileVann

Reputation: 554

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

Upvotes: 6

Jayasagar
Jayasagar

Reputation: 2066

  • 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.

Upvotes: 4

Related Questions