jeremy-friesen / flutter-video-chat

flutter-video-chat is a simple front-end combining text-messaging (using Google Firebase) and video chat (using Agora.io for Flutter).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not Able to Register and Login

waqas8919 opened this issue · comments

E/MethodChannel#plugins.flutter.io/firebase_auth(30371): Failed to handle method call
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): java.lang.RuntimeException: There was an error while initializing the connection to Google Play Services: java.lang.NoSuchMethodError: No static method isAtLeastR()Z in class Landroidx/core/os/BuildCompat; or its super classes (declaration of 'androidx.core.os.BuildCompat' appears in /data/app/com.example.doctorapp-HEfTn4B6fxOPpc_XI7OUpA==/base.apk)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at com.google.firebase.auth.api.internal.zzam.zzc(com.google.firebase:firebase-auth@@19.2.0:33)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at com.google.firebase.auth.api.internal.zzam.zza(com.google.firebase:firebase-auth@@19.2.0:21)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at com.google.firebase.auth.api.internal.zzam.zzb(com.google.firebase:firebase-auth@@19.2.0:10)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at com.google.firebase.auth.api.internal.zzau.zza(com.google.firebase:firebase-auth@@19.2.0:90)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at com.google.firebase.auth.FirebaseAuth.createUserWithEmailAndPassword(com.google.firebase:firebase-auth@@19.2.0:257)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at io.flutter.plugins.firebaseauth.FirebaseAuthPlugin.handleCreateUserWithEmailAndPassword(FirebaseAuthPlugin.java:361)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at io.flutter.plugins.firebaseauth.FirebaseAuthPlugin.onMethodCall(FirebaseAuthPlugin.java:143)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:226)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:631)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at android.os.MessageQueue.next(MessageQueue.java:336)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at android.os.Looper.loop(Looper.java:197)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at android.app.ActivityThread.main(ActivityThread.java:7811)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#plugins.flutter.io/firebase_auth(30371): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1068)
I/flutter (30371): PlatformException(error, There was an error while initializing the connection to Google Play Services: java.lang.NoSuchMethodError: No static method isAtLeastR()Z in class Landroidx/core/os/BuildCompat; or its super classes (declaration of 'androidx.core.os.BuildCompat' appears in /data/app/com.example.doctorapp-HEfTn4B6fxOPpc_XI7OUpA==/base.apk), null)