![](/img/trans.png)
[英]Unable to build android app because ofKeystore file '/Users/name/Desktop/KEYSTORE/release.keystore' not found for signing config 'release'
[英]flutter build apk causing error: Keystore file not found for signing config 'release'
我正在嘗試構建一個用於發布的 flutter 應用程序,我按照此處提供的步驟操作: https : //flutter.dev/docs/deployment/android 。 但是每當我嘗試構建它時,我都會收到以下錯誤:
Keystore file 'C:\Users\DELL\Documents\GitHub\flutter_quiz_final\android\app\C:Program FilesAndroidAndroid Studiojrebinkey.jks' not
found for signing config 'release'.
以下是我的 key.properties 文件:
storePassword=******
keyPassword=*****
keyAlias=key
storeFile=C:\Program Files\Android\Android Studio\jre\bin\key.jks
有人能告訴我如何解決這個錯誤嗎?
您必須提供帶有雙斜線 (//) 的文件路徑
C:\\Users\\DELL\\Documents\\GitHub\\flutter_quiz_final\\android\\app\\C:Program FilesAndroidAndroid Studiojrebinkey.jks
而且最好將您的 .jks 文件放到 android 目錄中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.