You need to enable JavaScript to run this app. Flutter应用发布到Google Play时Keystore签名配置报错如何解决
优惠活动
大模型
产品
解决方案
定价
更多

Flutter应用发布到Google Play时Keystore签名配置报错如何解决

Flutter Release构建签名校验失败解决方案

报错信息

构建时输出如下错误:

* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file not set for signing config release

已定位根因

密钥配置文件命名拼写错误,误写为key.propertis,缺失末尾字母e,修正为正确文件名key.properties即可解决。

同类问题通用排查方案

如果修正文件名后问题仍然存在,可依次检查以下配置:

  • key.properties文件存放路径为项目根目录下的android/文件夹,不要放在子目录或其他路径
  • android/app/build.gradle中读取签名配置的代码无拼写错误,对应配置项和key.properties中的命名完全匹配
  • key.properties中填写的storeFile路径和keystore文件的实际存放路径完全一致
  • key.properties中keyAlias、keyPassword、storePassword参数和生成keystore时设置的参数完全匹配

内容的提问来源于stack exchange,提问作者Saeed Ghasemi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.16 05:15:05