flutter build apk 报错

PS D:\flutterLearn\demoparams> flutter build apk Initializing gradle… 0.6s Resolving dependencies… 8.0s Gradle task ‘assembleRelease’…

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ‘:app:packageRelease’.

com.android.ide.common.signing.KeytoolException: Failed to read key key from store “D:\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 4s Gradle task ‘assembleRelease’… Done 4.8s Gradle task assembleRelease failed with exit code 1

D:\key.jks 这个文件不存在,自己生产一个或者gradle种删除对应地方的代码,那个代码负责是打生产包脚本