Littleor

1184 分类: 闲语

Flutter签名配置踩坑

配置key.properities的时候:

storePassword = 123
keyPassword = 123
keyAlias = key
storeFile = ~/key.jks

导致报错:Gradle task assembleRelease failed with exit code 1

解决

key.properities文件的storeFile需要是绝对路径:

storePassword = 123
keyPassword = 123
keyAlias = key
storeFile = /Users/(Your user name)/key.jks

备注

我系统是MAC,WIN也应该要绝对路径把?

#none

作者: Littleor

版权: 除特别声明,均采用BY-NC-SA 4.0许可协议,转载请表明出处

目录Content

评论