AAPT2 error: check logs for details: unknown element found

前端 未结 2 1719
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-06 23:37

Here\'s my debug\\AndroidManifest.xml

Getting so many errors like

Element action is not allowed here.
Element category

2条回答
  •  青春惊慌失措
    2020-12-07 00:09

    AndroidManifest.xml:15: error: unknown element found.

    You have a misplaced tag.

    To improve incremental resource processing, Android plugin 3.0.0 enables AAPT2 by default. In previous versions of AAPT, elements nested in incorrect nodes in the Android manifest are either ignored or result in a warning.
    To resolve the issue, make sure your manifest elements are nested correctly. For more information, read Manifest file structure.

    You have to modify your Manifest:

              
     
    

    They should be included inside an tag.

    You can read more here.

提交回复
热议问题