Android Question Firestore Didn't find class "com.google.firebase.firestore.FirebaseFirestore"

gregorio_adrian_gimenez

Active Member
Licensed User
Longtime User
Hi
Hi everyone, I am trying to get the Firestore library working with the new SDK.
when running the code I get this error
"com.google.firebase.firestore.FirebaseFirestore"

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/firestore/FirebaseFirestore;
at de.donmanfred.FirebaseFirestorewrapper.Initialize(FirebaseFirestorewrapper.java:41)
at com.intelliquestion.youspeak.insertar_contacto._insert_registro(insertar_contacto.java:414)
at com.intelliquestion.youspeak.insertar_contacto._button_continuar_click(insertar_contacto.java:399)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:197)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:7339)
at android.widget.TextView.performClick(TextView.java:14222)
at android.view.View.performClickInternal(View.java:7305)
at android.view.View.access$3200(View.java:846)
at android.view.View$PerformClick.run(View.java:27787)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7091)
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:975)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.firestore.FirebaseFirestore" on path: DexPathList[[zip file "/data/app/com.intelliquestion.youspeak-5GvDwJtEjz0k-EpCkDbKtA==/base.apk"],nativeLibraryDirectories=[/data/app/com.intelliquestion.youspeak-5GvDwJtEjz0k-EpCkDbKtA==/lib/arm, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 24 more


I looked in the SDKmanager to download the google maven and I can't find it, may it be what I have to get from another side?


regards
 
Top