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
I had the same problem as yours just now.Actually,you don’t have to reinstall IDE,just rebuild the project.It works here.
- 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.