Tom King
New member
- Joined
- Apr 2, 2018
- Messages
- 14
Anyone struggling with the following when compiling using Admob? (I used the how-to at https://www.cerberus-x.com/community/index.php?threads/android-ads.1440/ which was helpful, but didn't mention this particular challenge).
Suspect a tweak to AndroidManifest.xml is needed, but I can't figure it!
Suspect a tweak to AndroidManifest.xml is needed, but I can't figure it!
Task :approcessReleaseMainManifest FAILED
Attribute activity#com.google.android.gms.ads.AdActivity@configChanges value=(keyboard keyboardHidden orientation screenLayout uiMode screenSize smallestScreenSize) from AndroidManifest.xml:38:5-44:24
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
is also present at [com.google.android.gmslay-services-ads-lite:20.2.0] AndroidManifest.xml:50:13-122 value=(keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize).
Suggestion: add 'tools:replace="android:configChanges"' to <activity> element at AndroidManifest.xml:38:5-44:24 to override.
> Task :app:mergeReleaseResources
11 actionable tasks: 11 executed
FAILURE: Build failed with an exception.