我已按照相应的步骤添加依赖项。 ProcessException:进程“ F:\ firebase_demo \ android \ gradlew.bat”异常退出:
FAILURE: Build failed with an exception.
* Where:
Build file 'F:\firebase_demo\android\app\build.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_demo\android\gradlew.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'
答案 0 :(得分:0)
“ ASCII”有一个非常类似的问题。原来我把google firebase文件放在错误的文件夹中。仔细检查位置? 在Android Studio中,它是:android / app / google-services.json