Caused by: com.android.ide.common.signing.KeytoolException: Failed to read key tiangong from store \"[PackagePath]/wgtRoot/UNIC92C753/.manifest/google-keystore.keystore\": Invalid keystore format
at com.android.ide.common.signing.KeystoreHelper.getCertificateInfo(KeystoreHelper.java:222)
at com.android.build.gradle.internal.packaging.IncrementalPackagerBuilder.withSigning(IncrementalPackagerBuilder.java:283)
... 26 more
Caused by: java.io.IOException: Invalid keystore format
at com.android.ide.common.signing.KeystoreHelper.getCertificateInfo(KeystoreHelper.java:200)
... 27 more* Get more help at https://help.gradle.org
BUILD FAILED in 1m 10s
gradle build error: 1
我的证书格式 按文档步骤申请的:
签名算法名称: SHA256withRSA
主体公共密钥算法: 2048 位 RSA 密钥
版本: 3
2 个回复
BoredApe - 有问题就会有答案。
证书格式不正确,请重新生成,推荐使用云端证书使用云端证书(服务器生成的证书)
或者可视化证书生成器
7***@qq.com
参考 https://zhuanlan.zhihu.com/p/499813377