Boa noite, amigos.
Sou novo aqui e vi que aqui todos ajudam a quem precisa.
Estou com um problema na hr de executar meu java no Android Studio. Ele para meu emulador com mensagem de erro. “APP” parou, “APP” apresenta erros continuamente, já tentei no emulador e no celular mas continua o erro. Se alguém puder me ajudar:
2019-09-20 22:32:25.689 21530-21530/com.domain.apps.appname E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.domain.apps.appname, PID: 21530
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
******************************************************************************
* Invalid application ID. Follow instructions here: https://goo.gl/fQ2neu to *
* find your app ID. *
******************************************************************************
at android.app.ActivityThread.installProvider(ActivityThread.java:6356)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5919)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5836)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1697)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6626)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
Caused by: java.lang.IllegalStateException:
******************************************************************************
* Invalid application ID. Follow instructions here: https://goo.gl/fQ2neu to *
* find your app ID. *
******************************************************************************
at com.google.android.gms.internal.ads.zzabg.attachInfo(Unknown Source:19)
at com.google.android.gms.ads.MobileAdsInitProvider.attachInfo(Unknown Source:3)
at android.app.ActivityThread.installProvider(ActivityThread.java:6353)
... 10 more
2019-09-20 22:32:55.689 21530-21589/com.domain.apps.appname E/FirebaseInstanceId: Token retrieval failed: SERVICE_NOT_AVAILABLE
Esse erro obtive no Logcat em error