【发布时间】:2021-01-30 13:26:04
【问题描述】:
我试图构建一个 appbundle,但出现了这个错误。
C:\Users\IMBA\AndroidStudioProjects\quizzi>flutter build appbundle
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Failed to read key key from store "C:\Users\IMBA\AndroidStudioProjects\quizzi\android\app\key.jks": Keystore was tampered with, or password was incorrect
* 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 11s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done 12.2s
Gradle task bundleRelease failed with exit code 1
第二次出现问题,所以新建了一个key.jks文件。但是问题还是一样。
【问题讨论】:
标签: android android-studio flutter android-app-bundle