microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.66k stars 1.73k forks source link

Attempt to invoke virtual method 'com.google.android.gms.tasks.Task com.google.android.gms.common.api.GoogleApi.zzb(com.google.android.gms.common.api.internal.zzdd)' on a null object reference with 'com.google.firebase:firebase-auth:11.8.0' #461

Open ghost opened 6 years ago

WLun001 commented 6 years ago

any solution? I was facing the same problem too

luckyycool commented 6 years ago

Same here, there is some problem with firebase in android. In IOS its working smoothly

hegelstad commented 6 years ago

I got the same problem.

majid701 commented 6 years ago

same problem here! any solution?

hegelstad commented 6 years ago

@majid701 How to reproduce this, i forgot if I was able to fix it or not. Can you try to share how to reproduce, so maybe i remember. Best, Nikolai.

majid701 commented 6 years ago

@hegelstad Actually I am not using this repo. I just bumped in to this issue because I googled that specific exception I got in my logcat.

I am building an app with firebase so I added the firebase auth library to the project. I have noticed that it was not working because I was testing in a (Genymotion) simulator which didn't had Google play services installed. So after installing GPS everything is working fine.

I hope I helped you to track down the issue but it could be that the new firebase version only runs with official versions of Google play services.

good luck ;)

hegelstad commented 6 years ago

Aha, I had exactly the same issue (also using firebase), and solved it by installing gapps with genymotion! cheers.

Ikbeniyare commented 6 years ago

@majid701 thanks the same thing happen to me too i discovered the the emulator i was using didn't have google play store that was what gave me the error in my logcat