【发布时间】:2020-08-28 14:00:29
【问题描述】:
我正在开发一个 Flutter 应用并想使用 google 登录,为此,我需要我的应用 SHA-1 密钥。
如何获取密钥说明here
但是当我运行命令./gradlew signingReport
我收到错误:-
Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/5.6.2/userguide/gradle_daemon.html
Process command line: C:\Program Files (x86)\Java\jre1.8.0_241\bin\java.exe -Xmx1536M -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp E:\Users\rasku\.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb\gradle-5.6.2\lib\gradle-launcher-5.6.2.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 5.6.2
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap
* 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
我是应用签名和谷歌登录的新手。有什么问题以及如何获取应用程序的 SHA-1 密钥?
【问题讨论】:
-
在您的 Firebase 帐户中添加 SHA-1 密钥
-
如何找到 SHA-1 密钥?