【发布时间】:2021-02-18 06:23:30
【问题描述】:
我正在训练构建我的应用程序,但是当我使用此命令 flutter build appbundle 时,我发现了这个错误
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file not set for signing config release
* 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 54s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done 55,7s
Gradle task bundleRelease failed with exit code 1
我该如何解决这个问题?
【问题讨论】:
-
“未设置用于签署配置发布的密钥库文件”您是否拥有正确的所有凭据来进行发布构建?
标签: android flutter gradle dart build