AndroidX incompatibilitiese
FAILURE: Build failed with an exception.
- 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\samiu.gradle\caches\transforms-2\files-2.1\a3b8085db30285646632e9aaa0c95070\play-services-ads-lite-19.6.0\AndroidManifest.xml:27:5-38:15: AAPT: error: unexpected element
found in .
Try running flutter clean and running the app again
without admob plugin app run but after add admob plugin show this massage
I had the same issue. I just upgraded the project gradle version to 3.5.4
I am experiencing the same issue. Didn't work even after running flutter clean.
firebase_admob version: ^0.11.0+1
The error shown on building:
* 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
/home/hmogni/.gradle/caches/transforms-2/files-2.1/a3b8085db30285646632e9aaa0c95070/play-services-ads-lite-19.6.0/AndroidManifest.xml:27:5-38:15: AAPT: error: unexpected element <queries> found in <manifest>.
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
I'm having the same problem. Let me know if anyone knows the solution. ðŸ˜
firebase_admob version: ^0.11.0+1
FAILURE: Build failed with an exception.
* 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
/home/jay-flow/.gradle/caches/transforms-2/files-2.1/0dc4181583bc0660025808e34a9b6695/play-services-ads-lite-19.6.0/AndroidManifest.xml:27:5-38:15: AAPT: error: unexpected element <queries> found in <manifest>.
I had the same issue. I just upgraded the project gradle version to
3.5.4
Thank you. It is work for me :)
I had the same issue. I just upgraded the project gradle version to
3.5.4
Yes I did the same.
Update classpath 'com.android.tools.build:gradle:3.5.0' to classpath 'com.android.tools.build:gradle:3.5.4' in build.gradle
I am using classpath 'com.android.tools.build:gradle:4.1.2' and not solved my problem
I am using classpath 'com.android.tools.build:gradle:4.1.2' and not solved my problem
Use 3.5.4 or 4.0.1
The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.