Entry name 'classes.dex' collided


While trying to Generate a signed APK I’m getting this error

Entry name 'classes.dex' collided

Can someone tell me how to solve it? I recently changed the default package name which was com.exmaple to my app’s name. It builds correctly but gives this error while trying to generate a signed APK

My android studio version is 4.1.2


You are probably facing this error because you already have a signed APK in your project’s "release" folder. Please check for any existing APK and delete it, then try to generate once more.

Answered By – Tanzim Chowdhury

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published