我在哪里报告 googles (firebase) 文档中的错误? [Firebase 设置指南]
Where do I report an error in googles (firebase) documentation? [Firebase setup guide]
长话短说:
文档使用 apply plugin: 'com.google.gms:google-services'
和 :
而不是 .
,导致崩溃。
详情
我在 Firebase setup guide 中发现了一个小但耗时的错误,并希望为未来的开发人员修复它。
在Step 3
、task 2.b
下正文:
In your module (app-level) Gradle file (usually app/build.gradle), add a line to the bottom of the file.
您有以下代码:
apply plugin: 'com.android.application'
android {
// ...
}
// Add the following line to the bottom of the file:
apply plugin: 'com.google.gms:google-services' // Google Play services Gradle plugin
最后一行应该是apply plugin: 'com.google.gms.google-services'
。
但是,它被键入为 apply plugin: 'com.google.gms:google-services'
、
在 com.google.gsm
和 google-services
之间使用 冒号 而不是 点 .
这将导致以下错误:
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "/Users/me/Repos/infodisplay_flutter/android/gradlew"
exited abnormally:
FAILURE: Build failed with an exception.
* Where: Build file '/Users/me/Repos/infodisplay_flutter/android/app/build.gradle'
line: 74
* What went wrong: A problem occurred evaluating project ':app'.
> Plugin with id 'com.google.gms:google-services' not found.
* 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: /Users/me/Repos/infodisplay_flutter/android/gradlew app:properties
Finished with error: Please review your Gradle project setup in the android/ folder.
错误消息指向正确的行,但从其他 SO posts 判断,其他开发人员很难弄清楚为什么插件不存在。
如果我错了请纠正我,否则请尝试让这个 post 到达正确的人!
根据我之前的评论,可以将此问题标记为已回答/已关闭 -
在蓝色导航栏右上角的每个文档页面上都有一个 "Send Feedback" 按钮,如果您已登录,就在您的帐户个人资料照片下方。
Jon 的建议也有效,但我不确定文档问题的优先级是否低于开发错误。
长话短说:
文档使用 apply plugin: 'com.google.gms:google-services'
和 :
而不是 .
,导致崩溃。
详情
我在 Firebase setup guide 中发现了一个小但耗时的错误,并希望为未来的开发人员修复它。
在Step 3
、task 2.b
下正文:
In your module (app-level) Gradle file (usually app/build.gradle), add a line to the bottom of the file.
您有以下代码:
apply plugin: 'com.android.application'
android {
// ...
}
// Add the following line to the bottom of the file:
apply plugin: 'com.google.gms:google-services' // Google Play services Gradle plugin
最后一行应该是apply plugin: 'com.google.gms.google-services'
。
但是,它被键入为 apply plugin: 'com.google.gms:google-services'
、
在 com.google.gsm
和 google-services
之间使用 冒号 而不是 点 .
这将导致以下错误:
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "/Users/me/Repos/infodisplay_flutter/android/gradlew"
exited abnormally:
FAILURE: Build failed with an exception.
* Where: Build file '/Users/me/Repos/infodisplay_flutter/android/app/build.gradle'
line: 74
* What went wrong: A problem occurred evaluating project ':app'.
> Plugin with id 'com.google.gms:google-services' not found.
* 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: /Users/me/Repos/infodisplay_flutter/android/gradlew app:properties
Finished with error: Please review your Gradle project setup in the android/ folder.
错误消息指向正确的行,但从其他 SO posts 判断,其他开发人员很难弄清楚为什么插件不存在。
如果我错了请纠正我,否则请尝试让这个 post 到达正确的人!
根据我之前的评论,可以将此问题标记为已回答/已关闭 -
在蓝色导航栏右上角的每个文档页面上都有一个 "Send Feedback" 按钮,如果您已登录,就在您的帐户个人资料照片下方。
Jon 的建议也有效,但我不确定文档问题的优先级是否低于开发错误。