마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

안드로이드 AdMob 질문입니다.

0 추천
$ adb shell am start -n "com.example.sin.vi/com.example.sin.vi.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

Client not ready yet..Waiting for process to come online

Connected to process 20973 on device emulator-5554

Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.

V/FA: Registered activity lifecycle callback

I/FirebaseInitProvider: FirebaseApp initialization successful

D/AndroidRuntime: Shutting down VM

E/AndroidRuntime: FATAL EXCEPTION: main

    Process: com.example.sin.vi, PID: 20973

    java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:

    

    ******************************************************************************

    * The Google Mobile Ads SDK was initialized incorrectly. 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:6975)

        at android.app.ActivityThread.installContentProviders(ActivityThread.java:6515)

        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6432)

        at android.app.ActivityThread.access$1300(ActivityThread.java:219)

        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1859)

        at android.os.Handler.dispatchMessage(Handler.java:107)

        at android.os.Looper.loop(Looper.java:214)

        at android.app.ActivityThread.main(ActivityThread.java:7343)

        at java.lang.reflect.Method.invoke(Native Method)

        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:933)

     Caused by: java.lang.IllegalStateException:

    

    ******************************************************************************

    * The Google Mobile Ads SDK was initialized incorrectly. 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.internal.ads.zzxb.attachInfo(com.google.android.gms:play-services-ads-lite@@18.1.1:27)

        at com.google.android.gms.ads.MobileAdsInitProvider.attachInfo(com.google.android.gms:play-services-ads-lite@@18.1.1:3)

        at android.app.ActivityThread.installProvider(ActivityThread.java:6970)

        ... 10 more

I/Process: Sending signal. PID: 20973 SIG: 9

Application terminated.

 

왜 안되는지 알수 있을까요..?

 

QrCode , WebView, AdMob 사용했습니다..
꿀개 (2,440 포인트) 님이 2019년 7월 27일 질문

1개의 답변

0 추천
익명사용자 님이 2019년 7월 29일 답변
...