Skip to content

Package asking for Google Mobile Ads SDK app ID #30

Open
@DonnaxNL

Description

@DonnaxNL

Issue:
This package depends on Google Mobile Ads, which I don't use in my app, but it still asked for an application ID.

E/AndroidRuntime(20378): FATAL EXCEPTION: main
E/AndroidRuntime(20378): Process: app.blueplates.mobile, PID: 20378
E/AndroidRuntime(20378): java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
E/AndroidRuntime(20378):
E/AndroidRuntime(20378): ******************************************************************************
E/AndroidRuntime(20378): * Invalid application ID. Follow instructions here: *
E/AndroidRuntime(20378): * https://googlemobileadssdk.page.link/admob-android-update-manifest *
E/AndroidRuntime(20378): * to find your app ID. *
E/AndroidRuntime(20378): * Google Ad Manager publishers should follow instructions here: *
E/AndroidRuntime(20378): * https://googlemobileadssdk.page.link/ad-manager-android-update-manifest. *
E/AndroidRuntime(20378): ******************************************************************************
E/AndroidRuntime(20378):
E/AndroidRuntime(20378):
E/AndroidRuntime(20378): at android.app.ActivityThread.installProvider(ActivityThread.java:8215)
E/AndroidRuntime(20378): at android.app.ActivityThread.installContentProviders(ActivityThread.java:7746)
E/AndroidRuntime(20378): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7566)
E/AndroidRuntime(20378): at android.app.ActivityThread.access$1500(ActivityThread.java:301)
E/AndroidRuntime(20378): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2177)
E/AndroidRuntime(20378): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(20378): at android.os.Looper.loop(Looper.java:246)
E/AndroidRuntime(20378): at android.app.ActivityThread.main(ActivityThread.java:8653)
E/AndroidRuntime(20378): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(20378): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
E/AndroidRuntime(20378): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

Workaround:
Using the sample app id from the Quick Start guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions