My app builds fine,
but on device I get this error:
How can I fix it?
Thanks
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
- Invalid application ID. Follow instructions here: *
- https://googlemobileadssdk.page.link/admob-android-update-manifest *
- to find your app ID. *
at android.app.ActivityThread.installProvider(ActivityThread.java:6398)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5900)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5808)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1685)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6651)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)
Caused by: java.lang.IllegalStateException:
- Invalid application ID. Follow instructions here: *
- https://googlemobileadssdk.page.link/admob-android-update-manifest *
- to find your app ID. *
at com.google.android.gms.internal.ads.zzzt.attachInfo(com.google.android.gms:play-services-ads-lite@@19.7.0:24)
at com.google.android.gms.ads.MobileAdsInitProvider.attachInfo(com.google.android.gms:play-services-ads-lite@@19.7.0:3)
at android.app.ActivityThread.installProvider(ActivityThread.java:6386)
... 10 more