react-native-appodeal icon indicating copy to clipboard operation
react-native-appodeal copied to clipboard

The AdMob App ID is required even if the AdMob adapter is not installed.

Open rolandvar opened this issue 2 months ago • 2 comments

Hello everyone, I updated to version 3.10.0, but when I try to launch my Android application, it closes automatically and I get the following error in the console

FATAL EXCEPTION: main
Process: app.dev.android, PID: 9380
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException: 

******************************************************************************
* Missing application ID. AdMob publishers should follow the instructions    *
* here:                                                                      *
* https://googlemobileadssdk.page.link/admob-android-update-manifest         *
* to add a valid App ID inside the AndroidManifest.                          *
* Google Ad Manager publishers should follow instructions here:              *
* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *
******************************************************************************


	at android.app.ActivityThread.installProvider(ActivityThread.java:7869)
	at android.app.ActivityThread.installContentProviders(ActivityThread.java:7375)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7103)
	at android.app.ActivityThread.access$1700(ActivityThread.java:275)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2189)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:211)
	at android.os.Looper.loop(Looper.java:300)
	at android.app.ActivityThread.main(ActivityThread.java:8305)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:577)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074)
Caused by: java.lang.IllegalStateException: 

******************************************************************************
* Missing application ID. AdMob publishers should follow the instructions    *
* here:                                                                      *
* https://googlemobileadssdk.page.link/admob-android-update-manifest         *
* to add a valid App ID inside the AndroidManifest.                          *
* Google Ad Manager publishers should follow instructions here:              *
* https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *
******************************************************************************


	at com.google.android.gms.ads.internal.client.zzey.attachInfo(com.google.android.gms:play-services-ads-lite@@23.6.0:26)
	at com.google.android.gms.ads.MobileAdsInitProvider.attachInfo(com.google.android.gms:play-services-ads-lite@@23.6.0:1)
	at android.app.ActivityThread.installProvider(ActivityThread.java:7864)
	... 11 more

I don't have AdMob in my application, and we added the following lines to the exclusions

  { "group": "com.applovin.mediation", module: "google-ad-manager-adapter" },
  { "group": "com.applovin.mediation", module: "google-adapter" },
  { "group": "com.appodeal.ads.sdk.networks", module: "admob" },
  { "group": "com.unity3d.ads-mediation", module: "admob-adapter" },

Have any settings changed?

EDIT: This only happens on Android.

Best regards

rolandvar avatar Nov 05 '25 00:11 rolandvar