I/BiChannelGoogleApi(4964):[FirebaseAuth:]getGoogleAppFormMethod()返回Gms:com.google.firebase.auth.api.internal。zzaq@b13d73

I/BiChannelGoogleApi(4964):[FirebaseAuth:]getGoogleAppFormMethod()返回Gms:com.google.firebase.auth.api.internal。zzaq@b13d73,firebase,flutter,Firebase,Flutter,我对Flatter非常陌生,我正在使用firebase进行登录和注册验证 我完成了从在firebase中设置应用程序到添加所有必需依赖项的所有步骤。以下是文件。 项目级构建。渐变 buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.3' c

我对Flatter非常陌生,我正在使用firebase进行登录和注册验证
我完成了从在firebase中设置应用程序到添加所有必需依赖项的所有步骤。
以下是文件。
项目级构建。渐变

buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.3'
        classpath 'com.google.gms:google-services:4.3.3'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}


def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 29

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "co.amanchaudhary.flash_chat"
        minSdkVersion 16
        targetSdkVersion 29
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation 'androidx.multidex:multidex:2.0.0'
    implementation 'com.google.firebase:firebase-analytics:17.5.0'
}
应用程序级构建。渐变

buildscript {
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.3'
        classpath 'com.google.gms:google-services:4.3.3'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}


def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new FileNotFoundException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 29

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "co.amanchaudhary.flash_chat"
        minSdkVersion 16
        targetSdkVersion 29
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation 'androidx.multidex:multidex:2.0.0'
    implementation 'com.google.firebase:firebase-analytics:17.5.0'
}
这是控制台中的错误,
开始时显示了I/BiChannelGoogleApi,而现在,控制台中还显示了另外两个I/BiChannelGoogleApi

I/BiChannelGoogleApi( 4964): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzaq@b13d73
W/DynamiteModule( 4964): Local module descriptor class for com.google.firebase.auth not found.
I/FirebaseAuth( 4964): [FirebaseAuth:] Preparing to create service connection to gms implementation
我正在打电话,点击注册按钮时

            ButtonStyle(
              buttonColor: Colors.blueAccent,
              buttonText: "Register",
              onPressedButton: () async{
                try {
                final  newUser = await _auth.createUserWithEmailAndPassword(email: email, password: password);
                  if(newUser !=null){
                    Navigator.pushNamed(context, ChatScreen.id);
                  }
                } catch (e) {

                  print(e);
                }
              },
            ),
单击“注册”按钮时会发生此异常,

这不是错误消息,而是信息消息中的错误消息。你可以从前面的字母“I”看出来。如果某件事情没有按您预期的方式运行,您的问题应该解释该行为是什么。但在单击“注册”按钮后,它不会进入聊天室屏幕,原因可能是什么?我建议添加一些日志记录,并用调试信息更新您的问题。单击“注册”按钮后,应用程序将停止响应,并给出异常。请看一下我的最新问题。