Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot access zzbql in Firebase

When I updated to the latest buildToolsVersion '25.0.2' I got this error when I try to run:

Error:(103, 37) error: cannot access zzbql class file for com.google.android.gms.internal.zzbql not found

I'm using these Firebase libs:

            compile 'com.google.firebase:firebase-auth:10.0.1'
            compile 'com.google.firebase:firebase-messaging:10.0.1'
            compile 'com.google.firebase:firebase-core:10.0.1'
            compile 'com.google.firebase:firebase-crash:10.0.1'
like image 438
yehyatt Avatar asked Feb 23 '17 13:02

yehyatt


2 Answers

Upgrade your firebase for version 10.2.0

** As of 07.11.2017 it's 11.6.0

like image 131
Dener Rocha Avatar answered Sep 24 '22 06:09

Dener Rocha


The answer to solve the problem really is upgrading Firebase to 10.2.0 as in @DenerRocha 's reply.

But you might get the same problem again next time google-play-services is updated. The problem is that the compiler warns you that there's a new google-play services version, but doesn't do the same for Firebase. So keep the following in mind:

When you have this:

compile 'com.google.android.gms:play-services-auth:10.2.0'

Your Firebase will be:

compile 'com.google.firebase:firebase-core:10.2.0'
compile 'com.google.firebase:firebase-messaging:10.2.0'
compile 'com.google.firebase:firebase-auth:10.2.0'

When 10.3.0 is release, you'll have to update all of them to 10.3.0

like image 40
Dan Mori Avatar answered Sep 22 '22 06:09

Dan Mori