Cloud firestore 25.1.0 Error:- Failed resolution of: Lcom/google/protobuf/GeneratedMessageLite; #13422
SangeetaSinghDev
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue is occur when i'm trying to login or signup on physical device, i'm using firebaseauth for authentication. I have tried everything but didn't get resolution.
My flutter version -
Flutter 3.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0850beeb2 (2 months ago) • 2024-07-16 21:43:41 -0700
Engine • revision 235db911ba
Tools • Dart 3.4.4 • DevTools 2.34.3
compileSdkVersion 34
minSdkVersion 23
targetSdkVersion 34
These are the dependencies -
// Firebase
implementation platform('com.google.firebase:firebase-bom:33.3.0')
implementation 'com.google.firebase:firebase-core:21.1.1'
// implementation 'com.google.firebase:firebase-firestore-ktx:25.1.0'
implementation 'com.google.firebase:firebase-auth:23.0.0'
implementation 'com.google.firebase:firebase-common-ktx:21.0.0'
implementation 'com.google.firebase:firebase-common:21.0.0'
pubspec.yaml
firebase_analytics: ^11.3.1
firebase_core: ^3.4.1
cloud_firestore: ^5.4.3 # Use a version that's compatible with other packages
firebase_auth: ^5.3.1 # Adjust this to be compatible with firebase_core
firebase_crashlytics: ^4.1.1
firebase_messaging: ^15.0.4
firebase_storage: ^12.3.0
build.gradle -
buildscript {
ext.kotlin_version = '1.9.0'
ext {
// Update this to a version compatible with your Android Studio
android_gradle_plugin_version = '8.0.2'
}
repositories {
google()
mavenCentral()
// maven { url "https://repo.maven.apache.org/maven2" }
// maven { url "https://dl.google.com/dl/android/maven2" }
FATAL EXCEPTION: pool-19-thread-5
[ ] E/AndroidRuntime(27510): Process: com.tutee.delivery, PID: 27510
[ ] E/AndroidRuntime(27510): java.lang.NoClassDefFoundError: Failed resolution of:
Lcom/google/protobuf/GeneratedMessageLite;
[ ] E/AndroidRuntime(27510): at
com.google.firebase.firestore.FirebaseFirestore.(FirebaseFirestore.java:232)
[ ] E/AndroidRuntime(27510): at
com.google.firebase.firestore.FirebaseFirestore.newInstance(FirebaseFirestore.java:207)
[ ] E/AndroidRuntime(27510): at
com.google.firebase.firestore.FirestoreMultiDbComponent.get(FirestoreMultiDbComponent.java:69)
[ ] E/AndroidRuntime(27510): at
com.google.firebase.firestore.FirebaseFirestore.getInstance(FirebaseFirestore.java:178)
[ ] E/AndroidRuntime(27510): at
io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.getFirestoreFromPigeon(FlutterFirebas
eFirestorePlugin.java:320)
[ ] E/AndroidRuntime(27510): at
io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.lambda$documentReferenceSet$13(Flutte
rFirebaseFirestorePlugin.java:610)
[ ] E/AndroidRuntime(27510): at
io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin$$ExternalSyntheticLambda3.run(Unknown
Source:6)
[ ] E/AndroidRuntime(27510): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
[ ] E/AndroidRuntime(27510): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
[ ] E/AndroidRuntime(27510): at java.lang.Thread.run(Thread.java:919)
[ ] E/AndroidRuntime(27510): Caused by: java.lang.ClassNotFoundException: Didn't find class
"com.google.protobuf.GeneratedMessageLite" on path: DexPathList[[zip file
"/data/app/com.tutee.delivery-BcTRHZX_248shyONMz8tqg==/base.apk"],nativeLibraryDirectories=[/data/app/com.
tutee.delivery-BcTRHZX_248shyONMz8tqg==/lib/arm64,
/data/app/com.tutee.delivery-BcTRHZX_248shyONMz8tqg==/base.apk!/lib/arm64-v8a, /system/lib64,
/system/product/lib64]]
[ ] E/AndroidRuntime(27510): at
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:230)
[ ] E/AndroidRuntime(27510): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
[ ] E/AndroidRuntime(27510): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
[ ] E/AndroidRuntime(27510): ... 10 more
[ +2 ms] W/DynamiteModule(27510): Local module descriptor class for
com.google.android.gms.providerinstaller.dynamite not found.
[ +4 ms] I/DynamiteModule(27510): Considering local module
com.google.android.gms.providerinstaller.dynamite:0 and remote module
com.google.android.gms.providerinstaller.dynamite:0
[ ] W/ProviderInstaller(27510): Failed to load providerinstaller module: No acceptable module
com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0.
[ +11 ms] I/.tutee.deliver(27510): The ClassLoaderContext is a special shared library.
[ +21 ms] V/NativeCrypto(27510): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 295
native methods...
[ +11 ms] W/.tutee.deliver(27510): Accessing hidden method
Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed)
[ +37 ms] I/ProviderInstaller(27510): Installed default security provider GmsCore_OpenSSL
[ +205 ms] D/SessionLifecycleClient(27510): Sending lifecycle 2 to service
[ ] D/SessionLifecycleService(27510): Activity backgrounding at 5484313
[ +44 ms] I/Process (27510): Sending signal. PID: 27510 SIG: 9
Beta Was this translation helpful? Give feedback.
All reactions