

My exact issue was caused because I was using flavour based manifest files and I copied some permissions inside the tag in the flavour by accident. The errors will open up the generated xml files from your build which will show any errors in red.

In here you will get a list of anything that is causing issues in your resources and manifest file. Your inspection results will contain an element called 'Android'. When something is wrong, you can find out what it is by doing a code analysis run.Īnalyze -> Inspect code, scan the whole project using the 'Default' profile. I guessed I had an issue somewhere but wasn't sure where to look to find it (was it in the manifest, resource xml files etc?). I recently had this issue and the clean/build etc.
