|
@@ -0,0 +1,15 @@
|
|
|
+生成安卓证书 命令
|
|
|
+keytool -genkey -alias android.keystore -keyalg RSA -validity 36500 -keystore android.keystore
|
|
|
+证书别名 aitour.keystore
|
|
|
+证书密码 000000
|
|
|
+查看证书信息
|
|
|
+keytool -list -v -keystore "D:\pepk\aitour.keystore"
|
|
|
+
|
|
|
+导出私钥和公钥命令,华为市场需要
|
|
|
+java -jar "D:\pepk\pepk.jar" --keystore "D:\pepk\aitour.keystore" --alias "aitour.keystore" --output=output.zip --encryptionkey=034200041E224EE22B45D19B23DB91BA9F52DE0A06513E03A5821409B34976FDEED6E0A47DBA48CC249DD93734A6C5D9A0F43461F9E140F278A5D2860846C2CF5D2C3C02 --include-cert
|
|
|
+
|
|
|
+生成上传证书
|
|
|
+ keytool -export -rfc -keystore "D:\pepk\aitour.keystore" -alias "aitourUplod" -file "aitourUplod_certificate.pem"
|
|
|
+
|
|
|
+ 空包签名 应用宝
|
|
|
+jarsigner -verbose -keystore aitour.keystore -signedjar aitour_signed.apk un_signed.apk aitour.keystore
|