Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 颤振:生成应用程序包失败:失败:生成失败,出现异常_Flutter_Dart_Deployment - Fatal编程技术网

Flutter 颤振:生成应用程序包失败:失败:生成失败,出现异常

Flutter 颤振:生成应用程序包失败:失败:生成失败,出现异常,flutter,dart,deployment,Flutter,Dart,Deployment,我已经创建了一个应用程序的颤振,并完成了它,我想部署它,因为我在颤振文件阅读。 我得到这个错误: 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&

我已经创建了一个应用程序的颤振,并完成了它,我想部署它,因为我在颤振文件阅读。 我得到这个错误:

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.
c:/Users/Kato文件夹中的My key.jks


如何解决此问题?

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

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