Flutter:构建应用程序捆绑包失败:FAILURE:构建失败,出现异常

时间:2020-10-03 15:33:47

标签: flutter dart deployment

我已经通过flutter创建了一个应用程序并完成了它,我想在我阅读flutter文档时进行部署。 我收到此错误:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'D:\flutter_project\jiyanUquraan\android\app\Users\Kato\key.jks>' not found 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.

我的key.jks位于c:/ Users / Kato文件夹中

我该如何解决?

1 个答案:

答案 0 :(得分:1)

如下所示修改您的key.properties文件,

storePassword=123456
keyPassword=123456
keyAlias=key
storeFile=c:/Users/Kato/key.jks