jarsigner错误:包含错误的密钥库密码错误

时间:2019-06-30 12:22:40

标签: android apk keystore jarsigner

  

密钥库负载:密钥库被篡改,或者密码不正确

Generate Signed APK: Errors while building APK.

每次为Realese生成签名的APK时,都会发生这种情况。即使在创建新的密钥库之后,错误仍然会发生。

Cause: jarsigner.exefailed with exit code 1 : jarsigner error:
java.lang.RuntimeException: keystore load: Keystore was tampered with,
or password was incorrect
Caused by: java.lang.RuntimeException: jarsigner.exefailed with exit code 1 :jarsigner error: java.lang.RuntimeException: keystore load: Keystore was tampered with, or password was incorrect
    at com.android.build.gradle.internal.process.OpenJDKJarSigner.sign(OpenJDKJarSigner.kt:93)
    at com.android.build.gradle.internal.process.JarSigner$signer$1.invoke(JarSigner.kt:39)
    at com.android.build.gradle.internal.process.JarSigner$signer$1.invoke(JarSigner.kt:25)
    at com.android.build.gradle.internal.process.JarSigner.sign(JarSigner.kt:45)
    at com.android.build.gradle.internal.tasks.PackageBundleTask$BundleToolRunnable.run(PackageBundleTask.kt:203)
    at com.android.ide.common.workers.ExecutorServiceAdapter$submit$submission$1.run(ExecutorServiceAdapter.kt:39)

0 个答案:

没有答案