Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 940
haithemB Avatar asked Dec 07 '20 13:12

haithemB


1 Answers

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. :)

like image 155
NinjaDev Avatar answered Oct 18 '22 07:10

NinjaDev