Closed tomtaila closed 5 years ago
I get a crash when I call FirebaseAuth.signInWithEmailAndPassword()
Just call the mentioned method.
Here's my stack trace and gradle files:
2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Rejecting re-init on previously-failed class java.lang.Class<com.google.firebase.auth.api.internal.zzct>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/internal/RemoteCall; 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.api.internal.RemoteCall" on path: DexPathList[[zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/base.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_dependencies_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_resources_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_0_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_1_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_2_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_3_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_4_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_5_apk.apk", zip file " 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.754 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Rejecting re-init on previously-failed class java.lang.Class<com.google.firebase.auth.api.internal.zzct>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/internal/RemoteCall; 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.api.internal.RemoteCall" on path: DexPathList[[zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/base.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_dependencies_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_resources_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_0_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_1_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_2_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_3_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_4_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_5_apk.apk", zip file " 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Rejecting re-init on previously-failed class java.lang.Class<com.google.firebase.auth.api.internal.zzct>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/internal/RemoteCall; 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.api.internal.RemoteCall" on path: DexPathList[[zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/base.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_dependencies_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_resources_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_0_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_1_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_2_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_3_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_4_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_5_apk.apk", zip file " 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.755 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.756 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.756 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.756 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.756 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.757 9973-9973/teamup.made.taila.teamup W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzal@7d4767d 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Rejecting re-init on previously-failed class java.lang.Class<com.google.firebase.auth.api.internal.zzct>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/internal/RemoteCall; 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.api.internal.RemoteCall" on path: DexPathList[[zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/base.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_dependencies_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_resources_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_0_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_1_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_2_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_3_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_4_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_5_apk.apk", zip file " 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.api.internal.zzao.zzb(com.google.firebase.FirebaseApp, java.lang.String, java.lang.String, java.lang.String, com.google.firebase.auth.internal.zza) ((null):90) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at com.google.android.gms.tasks.Task com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(java.lang.String, java.lang.String) ((null):190) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(android.view.View) (LoginFragment.kt:45) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClick() (View.java:6597) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.performClickInternal() (View.java:6574) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at boolean android.view.View.access$3100(android.view.View) (View.java:778) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.view.View$PerformClick.run() (View.java:25885) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.os.Looper.loop() (Looper.java:193) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup I/de.taila.teamu: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) 2018-12-02 15:36:14.758 9973-9973/teamup.made.taila.teamup D/AndroidRuntime: Shutting down VM --------- beginning of crash 2018-12-02 15:36:14.759 9973-9973/teamup.made.taila.teamup E/AndroidRuntime: FATAL EXCEPTION: main Process: teamup.made.taila.teamup, PID: 9973 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/internal/RemoteCall; at com.google.firebase.auth.api.internal.zzao.zzb(Unknown Source:90) at com.google.firebase.auth.FirebaseAuth.signInWithEmailAndPassword(Unknown Source:190) at teamup.made.taila.teamup.auth.LoginFragment$setupLogin$1.onClick(LoginFragment.kt:45) at android.view.View.performClick(View.java:6597) at android.view.View.performClickInternal(View.java:6574) at android.view.View.access$3100(View.java:778) at android.view.View$PerformClick.run(View.java:25885) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.api.internal.RemoteCall" on path: DexPathList[[zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/base.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_dependencies_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_resources_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_0_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_1_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_2_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_3_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_4_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_5_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_6_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_7_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_8_apk.apk", zip file "/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/base.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_dependencies_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_resources_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_0_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_1_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_2_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_3_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_4_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_5_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_6_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_7_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_8_apk.apk!/lib/x86_64, /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_slice_9_apk.apk!/lib/x86_64, /system/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) 2018-12-02 15:36:14.760 9973-9973/teamup.made.taila.teamup E/AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 14 more Suppressed: java.io.IOException: No original dex files found for dex location /data/app/teamup.made.taila.teamup-wl-135tMMiUvhC_WP2BcRQ==/split_lib_resources_apk.apk at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile(DexFile.java:354) at dalvik.system.DexFile.<init>(DexFile.java:101) at dalvik.system.DexFile.<init>(DexFile.java:75) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:394) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:354) at dalvik.system.DexPathList.<init>(DexPathList.java:164) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:74) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65) at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:74) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:40) at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:727) at android.app.LoadedApk.getClassLoader(LoadedApk.java:810) at android.app.LoadedApk.getResources(LoadedApk.java:1032) at android.app.ContextImpl.createAppContext(ContextImpl.java:2345) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5749) at android.app.ActivityThread.access$1100(ActivityThread.java:199) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650) at android.os.Handler.dispatchMessage(Handler.java:106) ... 5 more
Here's my app gradle:
apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' ext.versions = [ 'compileSdk' : 28, 'minSdk' : 21, 'targetSdk' : 28, 'androidx' : '1.0.0', 'constraintLayout': '2.0.0-alpha2', 'coreKtx' : '1.0.0', 'coroutines' : '0.26.1', 'dagger' : '2.16', 'lottie' : '2.6.0', 'espresso' : '3.1.0', 'glide' : '4.8.0', 'googleServices' : '4.0.1', 'junit' : '4.12', 'moshi' : '1.8.0', 'kotlin' : '1.3.0-rc-190', 'kotlinTest' : '3.1.7', 'koin' : '1.0.1', 'ktlint' : '0.24.0', 'legacyCoreUtils' : '1.0.0', 'lifecycle' : '2.0.0', 'mockk' : '1.8.10.kotlin13', 'firebase' : '16.0.5', 'firestore' : '17.1.3', 'fireauth' : '16.0.5', 'material' : '1.0.0', 'okhttp' : '3.10.0', 'testRunner' : '1.1.0', 'retrofit' : '2.4.0', 'rxJava' : '2.2.3', 'rxAndroid' : '2.1.0', 'rxRelay' : '2.1.0', 'flipper' : '0.10.0', 'lithoAnnotations': '0.19.0', 'leakCanary' : '1.6.1', 'epoxy' : '3.0.0-rc1', 'navigation' : '1.0.0-alpha06' ] android { compileSdkVersion 28 configurations.all { resolutionStrategy.force 'com.google.android.gms:play-services-basement:15.0.1' resolutionStrategy.force 'com.google.android.gms:play-services-base:15.0.1' resolutionStrategy.force 'com.google.android.gms:play-services-tasks:15.0.1' } defaultConfig { applicationId "teamup.made.taila.teamup" minSdkVersion versions.minSdk targetSdkVersion versions.targetSdk versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" multiDexEnabled true } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } dataBinding { enabled = true } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" androidTestImplementation "androidx.test:runner:${versions.testRunner}" androidTestImplementation "androidx.test.espresso:espresso-core:${versions.espresso}" // LIFECYCLE implementation "androidx.lifecycle:lifecycle-runtime:${versions.lifecycle}" implementation "androidx.lifecycle:lifecycle-extensions:${versions.lifecycle}" annotationProcessor "androidx.lifecycle:lifecycle-compiler:${versions.lifecycle}" // UI implementation "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}" implementation "androidx.cardview:cardview:${versions.androidx}" implementation "androidx.legacy:legacy-support-v4:${versions.androidx}" implementation "androidx.recyclerview:recyclerview:${versions.androidx}" implementation "com.google.android.material:material:${versions.material}" implementation "androidx.appcompat:appcompat:${versions.androidx}" implementation "com.airbnb.android:lottie:${versions.lottie}" implementation "com.airbnb.android:epoxy:${versions.epoxy}" // IMAGE PROCESSING implementation "com.github.bumptech.glide:glide:${versions.glide}" implementation "com.github.bumptech.glide:okhttp3-integration:${versions.glide}" kapt "com.github.bumptech.glide:compiler:${versions.glide}" // NETWORK implementation "com.squareup.okhttp3:okhttp:${versions.okhttp}" implementation "com.squareup.okhttp3:logging-interceptor:${versions.okhttp}" implementation "com.squareup.retrofit2:retrofit:${versions.retrofit}" implementation "com.squareup.retrofit2:converter-moshi:${versions.retrofit}" implementation "com.squareup.retrofit2:adapter-rxjava2:${versions.retrofit}" implementation "com.squareup.moshi:moshi-kotlin:${versions.moshi}" // Dependency Injection implementation "com.google.dagger:dagger:${versions.dagger}" implementation "com.google.dagger:dagger-android:${versions.dagger}" implementation "com.google.dagger:dagger-android-support:${versions.dagger}" kapt "com.google.dagger:dagger-android-processor:${versions.dagger}" kapt "com.google.dagger:dagger-compiler:${versions.dagger}" // Navigation implementation "android.arch.navigation:navigation-fragment-ktx:${versions.navigation}" implementation "android.arch.navigation:navigation-ui-ktx:${versions.navigation}" androidTestImplementation "android.arch.navigation:navigation-testing-ktx:${versions.navigation}" // KTX implementation "androidx.core:core-ktx:${versions.coreKtx}" // FIREBASE implementation "com.google.firebase:firebase-core:${versions.firebase}" implementation "com.google.firebase:firebase-firestore:${versions.firestore}" implementation "com.google.firebase:firebase-auth:${versions.fireauth}" // RX implementation 'io.reactivex.rxjava2:rxandroid:2.1.0' implementation 'io.reactivex.rxjava2:rxjava:2.2.3' implementation "com.jakewharton.rxrelay2:rxrelay:${versions.rxRelay}" // DEBUG debugImplementation "com.facebook.flipper:flipper:${versions.flipper}" debugImplementation "com.facebook.litho:litho-annotations:${versions.lithoAnnotations}" debugImplementation "com.squareup.leakcanary:leakcanary-android:${versions.leakCanary}" releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${versions.leakCanary}" // Testing testImplementation "junit:junit:${versions.junit}" testImplementation "io.kotlintest:kotlintest-runner-junit5:${versions.kotlinTest}" testImplementation "io.mockk:mockk:${versions.mockk}" } kotlin { } kapt { generateStubs = true } apply plugin: 'com.google.gms.google-services'
Here's my project gradle:
buildscript { ext.kotlin_version = '1.3.10' ext.support_library = "27.1.1" ext.facebook_version = "4.34.0" ext.retrofit_version = "2.4.0" repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.1.0' } } allprojects { repositories { google() jcenter() } tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:deprecation" } } task clean(type: Delete) { delete rootProject.buildDir }
firebaseAuth.signInWithEmailAndPassword(etEmail.input(), etPassword.input()) .addOnCompleteListener { task -> if (task.isSuccessful) { Log.d(App.TAG, "Login successful! Email = ${firebaseAuth.currentUser?.email}") // TODO: Handle Success - take to browse games } else { Log.w(App.TAG, "Login failed! Email = ${firebaseAuth.currentUser?.email}", task.exception) // TODO: Handle failure } }
Quick update: Changing the firbease-auth version to 16.0.4 fixed the issue.
@tomtaila thanks for following up with your fix!
Describe your environment:
Describe the problem:
I get a crash when I call FirebaseAuth.signInWithEmailAndPassword()
Steps to reproduce:
Just call the mentioned method.
Here's my stack trace and gradle files:
Here's my app gradle:
Here's my project gradle:
Relevant Code: