Internal error in Cloud Firestore (21.3.0) Caused by: java.lang.NoClassDefFoundError: com.google.firebase.firestore.local.SQLiteSchema
See original GitHub issueEnvironment
- Android Studio version 3.4.1
- Firebase Component: Firestore
- Component version: 21.3.1
App Crashing on Logging In for Android Api Level 22 and 23
Internal error in Cloud Firestore (21.3.0) Caused by: java.lang.NoClassDefFoundError: com.google.firebase.firestore.local.SQLiteSchema
Relevant Code:
java.lang.RuntimeException: Internal error in Cloud Firestore (21.3.0).
at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3(com.google.firebase:firebase-firestore@@21.3.0:529)
at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run(com.google.firebase:firebase-firestore@@21.3.0)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.NoClassDefFoundError: com.google.firebase.firestore.local.SQLiteSchema$$Lambda$7
at com.google.firebase.firestore.local.SQLiteSchema.ensureSequenceNumbers(com.google.firebase:firebase-firestore@@21.3.0:423)
at com.google.firebase.firestore.local.SQLiteSchema.runMigrations(com.google.firebase:firebase-firestore@@21.3.0:127)
at com.google.firebase.firestore.local.SQLiteSchema.runMigrations(com.google.firebase:firebase-firestore@@21.3.0:78)
at com.google.firebase.firestore.local.SQLitePersistence$OpenHelper.onCreate(com.google.firebase:firebase-firestore@@21.3.0:306)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:251)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
at com.google.firebase.firestore.local.SQLitePersistence.start(com.google.firebase:firebase-firestore@@21.3.0:129)
at com.google.firebase.firestore.core.FirestoreClient.initialize(com.google.firebase:firebase-firestore@@21.3.0:269)
at com.google.firebase.firestore.core.FirestoreClient.lambda$new$0(com.google.firebase:firebase-firestore@@21.3.0:108)
at com.google.firebase.firestore.core.FirestoreClient$$Lambda$1.run(com.google.firebase:firebase-firestore@@21.3.0)
at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$2(com.google.firebase:firebase-firestore@@21.3.0:431)
at com.google.firebase.firestore.util.AsyncQueue$$Lambda$2.call(com.google.firebase:firebase-firestore@@21.3.0)
at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1(com.google.firebase:firebase-firestore@@21.3.0:317)
at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$$Lambda$2.run(com.google.firebase:firebase-firestore@@21.3.0)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$DelayedStartFactory.run(com.google.firebase:firebase-firestore@@21.3.0:224)
at java.lang.Thread.run(Thread.java:818)
Issue Analytics
- State:
- Created 4 years ago
- Comments:15
Top Results From Across the Web
Internal error in Cloud Firestore on API 23 - Stack Overflow
ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.NoClassDefFoundError: com.google.firebase.firestore.local.
Read more >java.lang.runtimeexception: internal error in cloud firestore ...
parseFrom(Write.java:778) at com.google.firebase.firestore.local. ... Internal error in Cloud Firestore (21.3.0) Caused by: java.lang.NoClassDefFoundError: ...
Read more >java.lang.RuntimeException Internal error in Firestore (0.6.6 ...
I'm using FireStore 17.1.0 on Android, my game just released a few days ago. ... compile 'com.google.firebase:firebase-firestore:17.1.0'
Read more >Internal error in Cloud Firestore (24.0.1). 오류 해결방법 ...
i.u.a(Unknown Source:19) at com.google.firebase.firestore.i.e.run(Unknown Source:2) at ... Thread.run(Thread.java:919) Caused by: java.lang.
Read more >Firestore vs (MySQL, SQLite, MongoDB, DynamoDB, MariaDB)
In the first part we have compared Firebase with other backend services. Now, we compare the Firestore database provided by Firebase with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried finding help from all relevant sources but to no avail. I did not get any help. Its a pressing issue on my app since android 5 and 6 users have been experiencing it for some time. I will appreciate help.
Found out it was third party library I wrote having used guava 28.1-jre . On changing it to 28.0-android it worked.