![](/img/trans.png)
[英]Keystore file Error:Execution failed for task ':app:validateSigningRelease'
[英]Execution failed for task ':app:validateSigningRelease'
我正在嘗試為我的應用程序制作一個 appbundle,但出現此警告。
C:\Users\IMBA\AndroidStudioProjects\quizzi>flutter build appbundle
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'C:\Users\IMBA\AndroidStudioProjects\quizzi\android\app\<C:UsersIMBAAndroidStudioProjectsquizziandroidappkey.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 7s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done 7.8s
Gradle task bundleRelease failed with exit code 1
但是我的 key.jks 文件已經制作好了,我的 key.jks 文件的 key.properties 路徑是正確的。
我該怎么辦?
在android/app/
文件夾中擁有key.jks
后,只需將key.properties
第 4 行更改為: storeFile=key.jks
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.