How to safely delete duplicate packages?

I have many duplicate packages in my Android studio project:

  • How can I find out which ones are actually being used?
  • How can I safely delete the duplicates?

I think it will be regenerated if you remove android/.idea/modules.xml, or android/.idea/workspace.xml or the whole android/.idea folder

Thanks, I’ll try that.

Regardless, do the duplicates effect the jar size of the generated app, or is it simply an IDE thing?

It’s simply an IDE thing