java -jar pepk.jar --keystore=./gg.keystore --alias=xjybtest --output=D:/output1.zip --include-cert --rsa-aes-encryption --encryption-key-path=./pem.pem
Enter password for store 'gg.keystore':
Enter password for key 'xjybtest':
Error: Unable to export or encrypt the private key
java.lang.NullPointerException: No key for alias: xjybtest
at com.google.wireless.android.vending.developer.signing.tools.extern.export.Utils.checkNotNull(Utils.java:54)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.extractPrivateKey(KeystoreHelper.java:63)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.getPrivateKey(KeystoreHelper.java:35)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:209)
at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.main(ExportEncryptedPrivateKeyTool.java:165)
5+app 打包的应用 使用 pepk.jar 生成 ZIP 文件时 报错,请问怎么解决
0 个回复