首页 > 解决方案 > 任务“:app:validateSigningRelease”执行失败。> 密钥库文件 appfoldeer\android\app\key.jks>' 未找到用于签署配置 'release'

问题描述

我到处搜索,但我没有在 vs 代码中找到任何关于颤振的解决方案。
1-> 我有存储在C:\Users\username\Desktop\appfolder\android\app\key.jks
中的释放签名密钥 2-> 我在 android 文件夹中有 key.properties 文件,如\android\key.properties

Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'C:\Users\username\Desktop\aapfolder\android\app\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.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 29s
Running Gradle task 'bundleRelease'...                          
Running Gradle task 'bundleRelease'... Done                       151.0s (!)
Gradle task bundleRelease failed with exit code 1

我在哪里错了请帮忙。

标签: androidfluttervisual-studio-code

解决方案


您需要使用 keytool 登录您的应用

更多细节请访问官方文档


推荐阅读