I the error "unexpected element <queries> found in <manifest>", how to fix it?
16,286
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. :)
Author by
haithemB
Updated on June 18, 2022Comments
-
haithemB about 2 years
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.
-
Doug Stevenson over 3 yearsOn Stack Overflow, please don't show pictures of text and code. Copy the text into the question itself and format it so that it's easy to read, copy, and search. You can edit the question to correct this using the edit link at the bottom.
-
-
haithemB over 3 yearsyeah its done thank you
-
Stanly Medjo over 3 yearsfor me, I also had to update my firebase-analytics to 17.5.0
-
muratoner over 3 yearsYour suggestion solved to my issue. This exception thrown when i use @react-native-firebase/admob package. Thanks, you are saved my time :)
-
Mr. Tacio over 3 yearspeople really are fast to judge saying that the question needs details but somehow this answer the "not clear question". anyways, this also resolves my issue. thanks
-
Kelvin Spencer almost 3 yearsheres a better answer stackoverflow.com/a/64524816