Android Question Firebase Firestore error

When running the FirestoreEx I get the following errors
log:
Setting query to get driver
** Activity (main) Resume **
onAuthStateChanged: com.google.firebase.auth.internal.zzl@8a8b729
*** Service (firebasemessaging) Create ***
** Service (firebasemessaging) Start **
java.lang.RuntimeException: Internal error in Cloud Firestore (21.3.1).
    at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$3(com.google.firebase:firebase-firestore@@21.3.1:529)
    at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run(Unknown Source:4)
    at android.os.Handler.handleCallback(Handler.java:883)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:224)
    at android.app.ActivityThread.main(ActivityThread.java:7520)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/protobuf/ByteString;
    at com.google.firebase.firestore.remote.WriteStream.<clinit>(com.google.firebase:firebase-firestore@@21.3.1:52)
    at com.google.firebase.firestore.local.SQLiteMutationQueue.<init>(com.google.firebase:firebase-firestore@@21.3.1:95)
    at com.google.firebase.firestore.local.SQLitePersistence.getMutationQueue(com.google.firebase:firebase-firestore@@21.3.1:166)
    at com.google.firebase.firestore.local.LocalStore.<init>(com.google.firebase:firebase-firestore@@21.3.1:139)
    at com.google.firebase.firestore.core.FirestoreClient.initialize(com.google.firebase:firebase-firestore@@21.3.1:271)
    at com.google.firebase.firestore.core.FirestoreClient.lambda$new$0(com.google.firebase:firebase-firestore@@21.3.1:108)
    at com.google.firebase.firestore.core.FirestoreClient$$Lambda$1.run(Unknown Source:13)
    at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$2(com.google.firebase:firebase-firestore@@21.3.1:431)
    at com.google.firebase.firestore.util.AsyncQueue$$Lambda$2.call(Unknown Source:4)
    at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor.lambda$executeAndReportResult$1(com.google.firebase:firebase-firestore@@21.3.1:317)
    at com.google.firebase.firestore.util.AsyncQueue$SynchronizedShutdownAwareExecutor$$Lambda$2.run(Unknown Source:7)


manifest:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="28"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)     
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)
'End of default text.

SetApplicationAttribute(android:theme, "@style/Theme.AppCompat")


'************ Google Play Services Base ************
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
'************ Google Play Services Base (end) ************

'************ Firebase Base ************
'CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase)
CreateResourceFromFile(Macro, FirebaseFirestore.Firebase)
'************ Firebase Base (end) ************

'************ Firebase Auth ************
CreateResourceFromFile(Macro, FirebaseAuth.FirebaseAuth)
'************ Firebase Auth (end) ************
CreateResourceFromFile(Macro, FirebaseNotifications.FirebaseNotifications)


activity:
#Region  Project Attributes
    #ApplicationLabel: Firestore
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region

#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
#End Region

#Extends: android.support.v7.app.AppCompatActivity
#MultiDex: true

#AdditionalJar: com.google.firebase:firebase-common
#AdditionalJar: com.google.firebase:firebase-auth
#AdditionalJar: com.google.firebase:firebase-database
#AdditionalJar: com.google.firebase:firebase-core
#AdditionalJar: com.google.firebase:firebase-common
#AdditionalJar: com.google.firebase:firebase-firestore

#AdditionalJar: grpc-all-1.22.1.jar
#AdditionalJar: grpc-api-1.22.1.jar
#AdditionalJar: grpc-core-1.22.1.jar
#AdditionalJar: grpc-okhttp-1.22.1.jar
#AdditionalJar: grpc-android-1.22.1.aar
#AdditionalJar: grpc-context-1.22.1.jar
#AdditionalJar: grpc-stub-1.22.1.jar
#AdditionalJar: grpc-protobuf-lite-1.22.1.jar

#AdditionalJar: opencensus-api-0.23.0.jar
#AdditionalJar: opencensus-contrib-grpc-metrics-0.23.0.jar
#AdditionalJar: opencensus-contrib-http-util-0.23.0.jar
#AdditionalJar: perfmark-api-0.17.0.jar
#AdditionalJar: guava-27.1-android.jar
#ExcludeClasses: com.google.guava:guava-jdk5
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…