I have several manifest errors regarding some attributes . I have not made any changes to the manifest the application generated automatically yet i get several errors. *( I\'m
Close AndroidManifest — File — Sync Project with Gradle Files. It helped.
P.S. A few months later I met this problem again — googled — found this answer and it didn't help! :D But this time I removed the Android Studio and installed the beta version. It helped.
Just Close your manifest file and reopen it. It worked for me.
This happens when manifest not correctly "recognized" by AndroidStudio: it is correct location file app/src/main/AndroidManifest.xml, but not in synthetic AS Android/app/manifests tree left-view.
Just close the project + remove from (welcome)list + re-import_project (Gradle, Eclipse ADT, etc).
Close the andorid studio and open the AndroidManifest.xml from the application folder in any of the local editor for e.g., Notepad,notepad++,sublime etc. Make change and save the manifest file. Now open the androdistudio. Your problem will be solve.
Most Probably, you are modifying the wrong Manifest.xml. When you attempt to run your code, it creates temporary files which might be what you are editing.
Just open your AndroidManifest.xml file in another editor like notepad++ and apply some changes ,then save it. that might work as a trick!