Android 找不到击键文件#颤振

Android 找不到击键文件#颤振,android,flutter,dart,visual-studio-code,Android,Flutter,Dart,Visual Studio Code,*马科斯 我已将我的击键文件生成为名称:“key.jks” 当我跑步时: flatter build apk 错误: 出了什么问题: 任务“:app:validateSigningRelease”的执行失败 找不到用于签名配置“release”的密钥库文件“/key.jks>”` 我的'key.jks'文件位置: …安卓/app/key.jks 我的“key.properties” storePassword=123456 keyPassword=123456 keyAlias=key st

*马科斯

我已将我的击键文件生成为名称:“key.jks”

当我跑步时:
flatter build apk

错误:

  • 出了什么问题:
    任务“:app:validateSigningRelease”的执行失败
找不到用于签名配置“release”的密钥库文件“/key.jks>”`

我的'key.jks'文件位置:
…安卓/app/key.jks

我的“key.properties”

storePassword=123456
keyPassword=123456
keyAlias=key
storeFile=/key.jks>
我的“key.properties”位置:
…安卓/key.properties

我的“build.gradle”位置:
android/app/build.gradle
key.properties
中,我们应该设置正确的
storeFile

storePassword=
keyPassword=
keyAlias=key
storeFile=./key.jks
您可能在结尾处留下了额外的
,方法如下:

storePassword=
钥匙密码=
keyAlias=密钥
存储文件=


记住将
key.properties
文件保持私有,出于安全原因,不要将其签入公共源代码管理。

嗨,有趣的是,文件路径中是否有一个杂散的
。是的@IronMan,
storeFile=/key.jks>
,“>”它默认在那里谢谢!这对我来说很有效,而不是od
storeFile=/key.jks>
storePassword=<password from previous step>
keyPassword=<password from previous step>
keyAlias=key
storeFile=<location of the key store file, such as /Users/<user name>/key.jks>