Android Studio 3.0 Manifest Error: unknown element found

前端 未结 8 1541
自闭症患者
自闭症患者 2020-11-28 11:28

NOTICE: Please do not post this \"android.enableAapt2=false\" as an answer. It is not a solution. It is jus

相关标签:
8条回答
  • 2020-11-28 12:17

    Just rename your manifest file like this: AndroidManifest.xmlold, then create a new XML file and give name: AndoridManifest.xml. Then just copy the content of the old file after you remove line with tag . Build>Clean Project and then Run>debug app again. Then the problem will be disappeared.

    0 讨论(0)
  • 2020-11-28 12:23

    In my app in AndroidManifest.xml tag receiver was under the application tag and this was cause of build fail with message .../android/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:25: AAPT: error: unknown element <receiver> found. After i have put it in application tag then the project has been compiled successfully. That's all

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