Android odk runtime error

hi i am using latest android studio and latest collect app(collect-1.26.3)
build is working but click debug in android phone error occurs:

E/AndroidRuntime: FATAL EXCEPTION: pool-16-thread-1
Process: org.odk.collect.android, PID: 24848
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at com.google.android.gms.internal.firebase-perf.zzby.zzr(com.google.firebase:firebase-perf@@19.0.4:16)
at com.google.android.gms.internal.firebase-perf.zzby.zzc(com.google.firebase:firebase-perf@@19.0.4:44)
at com.google.android.gms.internal.firebase-perf.zzby$zza.zzu(com.google.firebase:firebase-perf@@19.0.4:19)
at com.google.firebase.perf.internal.zzf.zzbt(com.google.firebase:firebase-perf@@19.0.4:42)
at com.google.firebase.perf.internal.zzf.zzc(com.google.firebase:firebase-perf@@19.0.4:195)
at com.google.firebase.perf.internal.zze.run(com.google.firebase:firebase-perf@@19.0.4:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
E/AndroidRuntime: FATAL EXCEPTION: pool-16-thread-2
Process: org.odk.collect.android, PID: 24848
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.firebase.perf.internal.zzv.zzd(boolean)' on a null object reference
at com.google.firebase.perf.internal.zzf.zze(com.google.firebase:firebase-perf@@19.0.4:170)
at com.google.firebase.perf.internal.zzi.run(com.google.firebase:firebase-perf@@19.0.4:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
E/MQSEventManagerDelegate: failed to get MQSService.
E/MQSEventManagerDelegate: failed to get MQSService.
I/Process: Sending signal. PID: 24848 SIG: 9
Disconnected from the target VM, address: 'localhost:8600', transport: 'socket'

i have try this documents


but same error occurs.

Please advice any solution

Hi @Niranjan_Sahoo
welcome to the forum! Please introduce yourself here!

It's caused by Firebase as you noticed. You can just remove it like i recommended in another topic Firebase. Runtime error in Android Studio of latest ODK Collect_App. (Downloaded from Github this morning)