Android manifest attribute not allowed here

后端 未结 11 1922
自闭症患者
自闭症患者 2021-02-18 13:28

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

相关标签:
11条回答
  • 2021-02-18 13:48

    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.

    0 讨论(0)
  • 2021-02-18 13:50

    Just Close your manifest file and reopen it. It worked for me.

    0 讨论(0)
  • 2021-02-18 13:53

    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).

    0 讨论(0)
  • 2021-02-18 13:55

    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.

    0 讨论(0)
  • 2021-02-18 13:58

    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.

    0 讨论(0)
  • 2021-02-18 13:58

    Just open your AndroidManifest.xml file in another editor like notepad++ and apply some changes ,then save it. that might work as a trick!

    0 讨论(0)
提交回复
热议问题