Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V/FirebaseCrash: Firebase Crash Reporting is disabled. #14

Closed
yokei15 opened this issue May 23, 2016 · 8 comments
Closed

V/FirebaseCrash: Firebase Crash Reporting is disabled. #14

yokei15 opened this issue May 23, 2016 · 8 comments

Comments

@yokei15
Copy link

yokei15 commented May 23, 2016

HI,
Im facing this type of issue,can you help me how to rectify, how to make enable firebase crash reporting.,this my error in logcat

V/FirebaseCrash: Firebase Crash Reporting is disabled.
E/FirebaseCrash: Failed to initialize crash reporting
com.google.firebase.crash.internal.zzg$zza: com.google.android.gms.internal.zzqi$zza: No acceptable module found. Local version is 0 and remote version is 0.
at com.google.firebase.crash.internal.zzg.zzah(Unknown Source)
at com.google.firebase.crash.FirebaseCrash.(Unknown Source)
at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.google.firebase.FirebaseApp.zza(Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
at com.google.firebase.FirebaseApp.zzbu(Unknown Source)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1591)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1562)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
at android.app.ActivityThread.installProvider(ActivityThread.java:4866)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4461)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4401)
at android.app.ActivityThread.access$1500(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1270)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5097)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: com.google.android.gms.internal.zzqi$zza: No acceptable module found. Local version is 0 and remote version is 0.
at com.google.android.gms.internal.zzqi.zza(Unknown Source)
at com.google.firebase.crash.internal.zzg.zzah(Unknown Source) 
at com.google.firebase.crash.FirebaseCrash.(Unknown Source) 
at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.google.firebase.FirebaseApp.zza(Unknown Source) 
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) 
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) 
at com.google.firebase.FirebaseApp.zzbu(Unknown Source) 
at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1591) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1562) 
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source) 
at android.app.ActivityThread.installProvider(ActivityThread.java:4866) 
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4461) 
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4401) 
at android.app.ActivityThread.access$1500(ActivityThread.java:139) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1270) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5097) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
at dalvik.system.NativeStart.main(Native Method) 
05-23 17:17:17.450 2462-2462/com.example.balaji.samplefirebase D/FirebaseApp: Initialized class com.google.firebase.crash.FirebaseCrash.
05-23 17:17:17.693 2462-2462/com.example.balaji.samplefirebase V/FirebaseCrash: Firebase Crash Reporting is disabled.
05-23 17:17:17.693 2462-2462/com.example.balaji.samplefirebase V/FirebaseCrash: Firebase Crash Reporting is disabled.
05-23 17:32:50.064 17461-17461/com.example.balaji.samplefirebase E/FirebaseCrash: Failed to initialize crash reporting
com.google.firebase.crash.internal.zzg$zza: com.google.android.gms.internal.zzqi$zza: No acceptable module found. Local version is 0 and remote version is 0.
at com.google.firebase.crash.internal.zzg.zzah(Unknown Source)
at com.google.firebase.crash.FirebaseCrash.(Unknown Source)
at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.google.firebase.FirebaseApp.zza(Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
at com.google.firebase.FirebaseApp.zzbu(Unknown Source)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1591)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1562)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
at android.app.ActivityThread.installProvider(ActivityThread.java:4866)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4461)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4401)
at android.app.ActivityThread.access$1500(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1270)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5097)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: com.google.android.gms.internal.zzqi$zza:
No acceptable module found. Local version is 0 and remote version is 0.
at com.google.android.gms.internal.zzqi.zza(Unknown Source)
at com.google.firebase.crash.internal.zzg.zzah(Unknown Source) at com.google.firebase.crash.FirebaseCrash.(Unknown Source) 
at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.google.firebase.FirebaseApp.zza(Unknown Source) 
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) 
at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) 
at com.google.firebase.FirebaseApp.zzbu(Unknown Source) 
at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1591) 
at android.content.ContentProvider.attachInfo(ContentProvider.java:1562) 
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source) 
at android.app.ActivityThread.installProvider(ActivityThread.java:4866) 
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4461) 
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4401) 
at android.app.ActivityThread.access$1500(ActivityThread.java:139) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1270) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5097) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
at dalvik.system.NativeStart.main(Native Method) 

@samtstern
Copy link
Contributor

@yokei15 are you running on a device or emulator? What is the version of Google Play Services on your device?

@yokei15
Copy link
Author

yokei15 commented May 24, 2016

@samtstern Am running in Device... Play service version is 8.3.01

@samtstern
Copy link
Contributor

In that case this is the expected behavior. You will need play services
version 9.0.82 or higher.

On Tue, May 24, 2016, 1:48 AM yokei15 [email protected] wrote:

@samtstern https://github.com/samtstern Am running in Device... Play
service version is 8.3.01


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#14 (comment)

@samtstern
Copy link
Contributor

Closing as intended behavior, if you can reproduce this on a device with Google Play Services >= 9.0.82 please re-open.

@yokei15
Copy link
Author

yokei15 commented May 25, 2016

Thank you its working after updating Google play service @samtstern

@nilsi
Copy link

nilsi commented Jul 27, 2016

Just wanted to share that in order to avoid crash you can add the following and prompt the user to update Google Play Services.

//Check if google play services is up to date
final int playServicesStatus = GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(this);
if(playServicesStatus != ConnectionResult.SUCCESS){
    //If google play services in not available show an error dialog and return
    final Dialog errorDialog = GoogleApiAvailability.getInstance().getErrorDialog(this, playServicesStatus, 0, null);
    errorDialog.show();
    return;
}

@yutin1987
Copy link

I have the same error, on 9.2.1.

        classpath 'com.android.tools.build:gradle:2.1.2'
        classpath 'com.google.gms:google-services:3.0.0'

and

    compile 'com.google.firebase:firebase-core:9.2.1'
    compile 'com.google.firebase:firebase-crash:9.2.1'
    compile 'com.google.android.gms:play-services:9.2.1'

and then add
apply plugin: 'com.google.gms.google-services'

run on Genymotion Samsung Galaxy S6 - 5.0.0

E/FirebaseCrash( 2487): Failed to initialize crash reporting
E/FirebaseCrash( 2487): com.google.firebase.crash.internal.zzg$zza: com.google.android.gms.internal.zzsj$zza: No acceptable module found. Local version is 0 and remote version is 0.
E/FirebaseCrash( 2487):     at com.google.firebase.crash.internal.zzg.zzbq(Unknown Source)
E/FirebaseCrash( 2487):     at com.google.firebase.crash.FirebaseCrash.<init>(Unknown Source)
E/FirebaseCrash( 2487):     at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source)
E/FirebaseCrash( 2487):     at java.lang.reflect.Method.invoke(Native Method)
E/FirebaseCrash( 2487):     at java.lang.reflect.Method.invoke(Method.java:372)
E/FirebaseCrash( 2487):     at com.google.firebase.FirebaseApp.zza(Unknown Source)
E/FirebaseCrash( 2487):     at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
E/FirebaseCrash( 2487):     at com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
E/FirebaseCrash( 2487):     at com.google.firebase.FirebaseApp.zzeh(Unknown Source)
E/FirebaseCrash( 2487):     at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
E/FirebaseCrash( 2487):     at android.content.ContentProvider.attachInfo(ContentProvider.java:1686)
E/FirebaseCrash( 2487):     at android.content.ContentProvider.attachInfo(ContentProvider.java:1655)
E/FirebaseCrash( 2487):     at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
E/FirebaseCrash( 2487):     at android.app.ActivityThread.installProvider(ActivityThread.java:4964)
E/FirebaseCrash( 2487):     at android.app.ActivityThread.installContentProviders(ActivityThread.java:4559)
E/FirebaseCrash( 2487):     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4499)
E/FirebaseCrash( 2487):     at android.app.ActivityThread.access$1500(ActivityThread.java:144)
E/FirebaseCrash( 2487):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1339)
E/FirebaseCrash( 2487):     at android.os.Handler.dispatchMessage(Handler.java:102)
E/FirebaseCrash( 2487):     at android.os.Looper.loop(Looper.java:135)
E/FirebaseCrash( 2487):     at android.app.ActivityThread.main(ActivityThread.java:5221)
E/FirebaseCrash( 2487):     at java.lang.reflect.Method.invoke(Native Method)
E/FirebaseCrash( 2487):     at java.lang.reflect.Method.invoke(Method.java:372)
E/FirebaseCrash( 2487):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
E/FirebaseCrash( 2487):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
E/FirebaseCrash( 2487): Caused by: com.google.android.gms.internal.zzsj$zza: No acceptable module found. Local version is 0 and remote version is 0.
E/FirebaseCrash( 2487):     at com.google.android.gms.internal.zzsj.zza(Unknown Source)
E/FirebaseCrash( 2487):     ... 25 more
I/FirebaseInitProvider( 2487): FirebaseApp initialization successful
D/FirebaseInstanceId( 2487): background sync failed: MISSING_INSTANCEID_SERVICE, retry in 10s
D/FirebaseInstanceId( 2487): background sync failed: MISSING_INSTANCEID_SERVICE, retry in 20s

@yutin1987
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants