【发布时间】:2019-09-04 18:45:28
【问题描述】:
在 IntelliJ v2019.1 和 Netbeans v11 上使用 JDK 11 在 Linux Ubuntu 18.10 中提交 Android 构建失败。
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':packageRelease'.
Caused by: com.android.ide.common.signing.KeytoolException:
Failed to read key from store "/tmp
Caused by: java.io.IOException: Invalid keystore format
Deprecated Gradle features were used in this build,
making it incompatible with Gradle 5.0.
使用 Keytool 验证的证书如下所示。
$ keytool -v -list -keystore Keychain.ks
Enter keystore password:
Keystore type: PKCS12
Keystore provider: SUN
Your keystore contains 1 entry
Alias name: mobitribe
Creation date: 14 Apr 2019
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=MobiTribe, OU=ITDepartment, O=MobiTribe, L=Nairobi, ST=Kenya, C=KE
Issuer: CN=MobiTribe, OU=ITDepartment, O=MobiTribe, L=Nairobi, ST=Kenya,C=KE
Serial number: 5c0aaf6f
Valid from: Sun Apr 14 16:38:51 EAT 2019 until: Sat May 08 16:38:51 EAT 2060
Extensions:
#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: D2 77 22 2D 0A 63 22 52 DA C4 8B 4C CD B7 7E 1C .w"-.c"R...L....
0010: B6 B3 14 DF
【问题讨论】:
标签: linux build codenameone