问题
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