Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Duplicate AndroidManifest.xml in bin directory?

I just upgraded to a latest ADT and seems a quite a bit has changed (for the better).

Just created a new project and looked into the bin directory of my project and I see a AndroidManifest.xml file that seems to be an exact duplicate as the one in the root of the project.

Changes to the root manifest file seem to also seem to automatically reflect on the one in bin

What gives? Why is there a duplicate manifest? Can't seem to find any documentation for this.

like image 719
Jay Sidri Avatar asked Jul 05 '12 08:07

Jay Sidri


2 Answers

This is the result of the new manifestmerger.enabled property.

You can use it to merge library project manifest files into the including project's manifest.

The resulting manifest will be in your /bin directory.

like image 86
Benito Bertoli Avatar answered Oct 18 '22 07:10

Benito Bertoli


When your project builds it creates a copy of itself for execution in the bin folder, you can ignore everything in the build folder as it doesn't require editing directly by you. You will also find copies of .class files, compiled from your java equivalents, a .dex file, and all of your drawable resources.

The only AndroidManifest.xml you have to worry about is the one in your root project directory

like image 45
biddulph.r Avatar answered Oct 18 '22 06:10

biddulph.r