Google Play Services v9.0.0 FATAL EXCEPTION

4,236 views
Skip to first unread message

MME

unread,
May 18, 2016, 8:03:47 PM5/18/16
to Google Mobile Ads SDK Developers
Hello all,
Now I updated my gradle project from compile 'com.google.android.gms:play-services:8.4.0' to  compile 'com.google.android.gms:play-services:9.0.0'

I get this error: Please HELP !!!!

android E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                             Process: com.mmicoe.multiply.android, PID: 19191
                                                                                             java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.IllegalStateException: Incorrect provider authority in manifest. Most likely due to a missing applicationId variable in application's build.gradle.
                                                                                                 at android.app.ActivityThread.installProvider(ActivityThread.java:5002)
                                                                                                 at android.app.ActivityThread.installContentProviders(ActivityThread.java:4594)
                                                                                                 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4534)
                                                                                                 at android.app.ActivityThread.access$1500(ActivityThread.java:151)
                                                                                                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
                                                                                                 at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                                 at android.os.Looper.loop(Looper.java:135)
                                                                                                 at android.app.ActivityThread.main(ActivityThread.java:5254)
                                                                                                 at java.lang.reflect.Method.invoke(Native Method)
                                                                                                 at java.lang.reflect.Method.invoke(Method.java:372)
                                                                                                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
                                                                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
                                                                                              Caused by: java.lang.IllegalStateException: Incorrect provider authority in manifest. Most likely due to a missing applicationId variable in application's build.gradle.
                                                                                                 at com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source)
                                                                                                 at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
                                                                                                 at android.app.ActivityThread.installProvider(ActivityThread.java:4999)
                                                                                                 at android.app.ActivityThread.installContentProviders(ActivityThread.java:4594) 
                                                                                                 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4534) 
                                                                                                 at android.app.ActivityThread.access$1500(ActivityThread.java:151) 
                                                                                                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) 
                                                                                                 at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                                 at android.os.Looper.loop(Looper.java:135) 
                                                                                                 at android.app.ActivityThread.main(ActivityThread.java:5254) 
                                                                                                 at java.lang.reflect.Method.invoke(Native Method) 
                                                                                                 at java.lang.reflect.Method.invoke(Method.java:372) 
                                                                                                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 
                                                                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 

All the best!!

Computer: OSX: 10.11.4 (15E65)
Device: Nexus 7
IDE: Android Studio 2.1.1
(Using com.google.android.gms:play-services:8.4.0 it works fine)

All the best!

Vu Chau (Mobile Ads SDK Team)

unread,
May 19, 2016, 9:54:56 AM5/19/16
to Google Mobile Ads SDK Developers
Hi there,

Looks like Ian offered you a solution on your Stackoverflow post.  Did adding the applicationID resolve the issue?

Vu Chau
Mobile Ads SDK Team

Mauro Micó Ebro

unread,
May 19, 2016, 10:10:38 AM5/19/16
to google-adm...@googlegroups.com
Hi Vu Chau,
YES, Adding applicationID RESOLVED my issue !
Now, it works fine !!!

All the best!!

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/E1fi33l_hj8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
@MauroMEGames
Este mensaje y cualquier documento que lleve adjunto, es confidencial y destinado únicamente a la persona o entidad a quien ha sido enviado. El carácter confidencial, personal, e intransferible de la misma está protegido legalmente. Cualquier revelación, uso o reenvío no autorizado, total o parcial, está prohibido. Si Usted ha recibido este mensaje por error, le informamos que el contenido en el mismo es reservado y el uso no autorizado está prohibido legalmente, por ello, por favor, ruego lo notifique al e-mail: mmi...@gmail.com

Mauro Micó Ebro

unread,
May 19, 2016, 10:25:49 AM5/19/16
to google-adm...@googlegroups.com
Hi Vu Chau:
Now I get the error on my Mobile Sony Speria ST26i  :(
Please, could you help me ? I need to upload my game to production ...
On my Nexus 7 it works fine !!

android E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                           java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions
                                                                                               at com.google.firebase.FirebaseApp.zzbu(Unknown Source)
                                                                                               at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
                                                                                               at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
                                                                                               at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
                                                                                               at android.app.ActivityThread.installProvider(ActivityThread.java:4617)
                                                                                               at android.app.ActivityThread.installContentProviders(ActivityThread.java:4247)
                                                                                               at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4189)
                                                                                               at android.app.ActivityThread.access$1300(ActivityThread.java:136)
                                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1261)
                                                                                               at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                               at android.os.Looper.loop(Looper.java:137)
                                                                                               at android.app.ActivityThread.main(ActivityThread.java:4802)
                                                                                               at java.lang.reflect.Method.invokeNative(Native Method)
                                                                                               at java.lang.reflect.Method.invoke(Method.java:511)
                                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:813)
                                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:580)
                                                                                               at dalvik.system.NativeStart.main(Native Method)

All the best!

2016-05-19 15:54 GMT+02:00 'Vu Chau (Mobile Ads SDK Team)' via Google Mobile Ads SDK Developers <google-adm...@googlegroups.com>:

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/E1fi33l_hj8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

MME

unread,
May 19, 2016, 10:29:38 AM5/19/16
to Google Mobile Ads SDK Developers


El jueves, 19 de mayo de 2016, 16:25:49 (UTC+2), MME escribió:
Hi Vu Chau:
Now I get the error on my Mobile Sony Speria ST26i  with  Android version: 4.1.2 :(
Please, could you help me ? I need to upload my game to production ...
On my Nexus 7 it works fine !!
 

android E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                           java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions
                                                                                               at com.google.firebase.FirebaseApp.zzbu(Unknown Source)
                                                                                               at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
                                                                                               at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
                                                                                               at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
                                                                                               at android.app.ActivityThread.installProvider(ActivityThread.java:4617)
                                                                                               at android.app.ActivityThread.installContentProviders(ActivityThread.java:4247)
                                                                                               at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4189)
                                                                                               at android.app.ActivityThread.access$1300(ActivityThread.java:136)
                                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1261)
                                                                                               at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                               at android.os.Looper.loop(Looper.java:137)
                                                                                               at android.app.ActivityThread.main(ActivityThread.java:4802)
                                                                                               at java.lang.reflect.Method.invokeNative(Native Method)
                                                                                               at java.lang.reflect.Method.invoke(Method.java:511)
                                                                                               at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:813)
                                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:580)
                                                                                               at dalvik.system.NativeStart.main(Native Method)

All the best!
To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Mauro Micó Ebro

unread,
May 19, 2016, 4:12:07 PM5/19/16
to google-adm...@googlegroups.com
Hi, I tested a game linking with Firebase:
On my Nexus 7 it works fine,
but on my Mobile Sony ST26i (Android version 4.1.2)
  1. If I my game is linked from Admob to Firebase:
  • I have to remove my google-services.json from /app/android
  • I have to remove my:
defaultConfig {
        applicationId "com.example.my.app"
        ...
    }
  • I have to remove the Admob to Firebase link.  (If I remove the link, my game works fine on my ST26i)
because it crashes on my mobile device :(
I think I'll wait to link Firebase, because I do not trust using Firebase with a lot of mobile devices (with a android version)

I hope your advice
All the best!

To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
@MauroMEGames
Este mensaje y cualquier documento que lleve adjunto, es confidencial y destinado únicamente a la persona o entidad a quien ha sido enviado. El carácter confidencial, personal, e intransferible de la misma está protegido legalmente. Cualquier revelación, uso o reenvío no autorizado, total o parcial, está prohibido. Si Usted ha recibido este mensaje por error, le informamos que el contenido en el mismo es reservado y el uso no autorizado está prohibido legalmente, por ello, por favor, ruego lo notifique al e-mail: mmi...@gmail.com

--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/E1fi33l_hj8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages