title: MethodChannel#plugins.flutter.io/firebase_auth(31559): Failed to handle method call
body: <p>this is a login app i added the user in the firebase. All setup but whenever i tried to do login, this error occurred :</p>
  
  <blockquote>
    <p>MethodChannel#plugins.flutter.io/firebase_auth(31559): Failed to
    handle method call</p>
  </blockquote>
  
  <p>i added these dependencies </p>
  
  <p>my pubspec.yaml file</p>
  
  <pre><code>dependencies:
    flutter:
      sdk: flutter
    firebase_core: ^0.2.5+1
    firebase_auth: ^0.7.0
  </code></pre>
  
  <p>android/gradle.properties</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:3.2.1'
      classpath 'com.google.gms:google-services:4.2.0'
     }
  </code></pre>
  
  <p>android/app/gradle.properties</p>
  
  <pre><code>apply plugin: 'com.google.gms.google-services' //at the end
  </code></pre>
  
  <blockquote>
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559): Failed to
    handle method call</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):
    java.lang.IllegalArgumentException: Given String is empty or null</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    com.google.android.gms.common.internal.Preconditions.checkNotEmpty(Unknown
    Source)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    com.google.firebase.auth.FirebaseAuth.createUserWithEmailAndPassword(Unknown
    Source)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    io.flutter.plugins.firebaseauth.FirebaseAuthPlugin.handleCreateUserWithEmailAndPassword(FirebaseAuthPlugin.java:302)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    io.flutter.plugins.firebaseauth.FirebaseAuthPlugin.onMethodCall(FirebaseAuthPlugin.java:89)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:201)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:88)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:219)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    android.os.MessageQueue.nativePollOnce(Native Method)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    android.os.MessageQueue.next(MessageQueue.java:328)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    android.os.Looper.loop(Looper.java:148)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    android.app.ActivityThread.main(ActivityThread.java:6364)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    java.lang.reflect.Method.invoke(Native Method)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1076)</p>
    
    <p>E/MethodChannel#plugins.flutter.io/firebase_auth(31559):  at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:937) I/flutter
    (31559): Given String is empty or null</p>
  </blockquote>