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

Android 4 NullPointerException #763

Closed
Jieun-Kim-dev opened this issue Oct 13, 2021 · 1 comment
Closed

Android 4 NullPointerException #763

Jieun-Kim-dev opened this issue Oct 13, 2021 · 1 comment

Comments

@Jieun-Kim-dev
Copy link

Jieun-Kim-dev commented Oct 13, 2021

according to #744, if I do
implementation 'com.google.firebase:firebase-iid'

Android 4 occurs NullPointerException because of FirebaseInstanceId

Fatal Exception: java.lang.NullPointerException
android.util.Pair.hashCode (Pair.java:62)
androidx.collection.SimpleArrayMap.indexOfKey (SimpleArrayMap.java:322)
androidx.collection.SimpleArrayMap.get (SimpleArrayMap.java:363)
com.google.firebase.iid.zzaq.zza (zzaq.java:6)
com.google.firebase.iid.FirebaseInstanceId.zza (FirebaseInstanceId.java:154)
com.google.firebase.iid.zzn.run (zzn.java)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1076)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:569)
java.lang.Thread.run (Thread.java:856)

How can I fix it for Android 4 (API16) ?

@williambeta
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

2 participants