I the error “unexpected element <queries> found in <manifest>”, how to fix it? [closed]

為{幸葍}努か 提交于 2021-01-20 07:10:33

问题


this is the screenshot

play-services-ads-lite-19.6.0/AndroidManifest.xml:27:5-38:15: AAPT: error: unexpected element <queries> found in <manifest>.

This is the error.


回答1:


I also had same issue on Android Studio 4.1.1, suddenly, 2 days ago. I solved the issue by upgrading build gradle version.

  • previous setting in build.gradle file of project was:
    classpath("com.android.tools.build:gradle:3.5.3")
    
  • current setting:
    classpath("com.android.tools.build:gradle:3.5.4")
    

The issue was gone immediately. :)



来源:https://stackoverflow.com/questions/65182767/i-the-error-unexpected-element-queries-found-in-manifest-how-to-fix-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!