react-native-admob: Execution failed for task ':app:processDebugResources'.

Hi. When I’m trying to launch the app on my device or to build the apk I get this error. If I remove the package the app it’s working. How can I solve this? Thank you!

`What went wrong: Execution failed for task ‘:app:processDebugResources’.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\Paul.gradle\caches\transforms-2\files-2.1\65a7585b9bb154c619c54e8c3c28e865\play-services-ads-lite-19.6.0\AndroidManifest.xml:27:5-38:15: AAPT: error: unexpected element <queries> found in <manifest>.`

About this issue

Most upvoted comments

  1. Open your project’s android folder in Android Studio, and wait a moment, a notification will appear in the bottom right corner asking for Gradle to be updated. You must click on update, wait for the update…

  2. After finishing the Gradle update run ./gradlew clean in the android folder.

  3. Open your complete project and run yarn android or npm run android again.

Good luck 🎉

Change your gradle version in build.gradle as per the series version you are using.These are the updated versions. 3.3.3 3.4.3 3.5.4 3.6.4 4.0.1

I am also getting this issue