当我试图用firebase连接应用程序时,我无法用VS代码构建应用程序.以下是我开始运行它时遇到的错误



我已经按照相应的步骤添加了依赖项。ProcessException:进程"F:\firebase_demo\android\gradlew.bat"异常退出:

FAILURE: Build failed with an exception.
* Where:
Build file 'F:firebase_demoandroidappbuild.gradle' line: 24
* What went wrong:
A problem occurred evaluating project ':app'.
> ASCII
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with
--scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
Command: F:firebase_demoandroidgradlew.bat app:properties

Please review your Gradle project setup in the android/ folder.

#-------------------------Here is the change i brought to build gradle

dependencies {  
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"  
testImplementation 'junit:junit:4.12'  
androidTestImplementation 'com.android.support.test:runner:1.0.2'  
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'  
implementation 'com.google.firebase:firebase-analytics:17.2.0'  
}  
apply plugin: 'com.google.gms.google-services'  

我也遇到过类似的"ASCII"问题。原来我把我的谷歌firebase文件放错了文件夹。仔细检查位置?在Android Studio中,它是:Android/app/google-services.json