ubuntu签名android apk 生成密钥

jarsigner -verbose -keystore my.keystore -keypass 123456(密钥) -signedjar signed.apk(签名后apk) MainActivity-release-unsigned.apk(待签名apk)  my.keystore(签名文件)


生成密钥:

keytool -genkey -alias my.keystore(密钥名称) -keyalg RSA -validity 20000 -keystore my.keystore

余下按提示。


配置android环境变量:export PATH=work/android-sdk_eng_linux-x86/tools/:work/android-sdk_eng_linux-x86/platform-tools/:$PATH


生成build.xml及local.properity:android update project -p hh_git_code/tecon/tecon_jb_4.2/device/mstar/common/apps/POITest/。

你可能感兴趣的:(ubuntu签名android apk 生成密钥)