You can use the appsign tools like this: java -jar appsigner.jar -z -k debug.p12 -a debug -p 123456 -s <0|1|2...>. e.g: java -jar appsigner.jar -z com.yunos.homeshell.zip -k system.p12 -a system -p 123456 -s 1; you must specify filepath use the absolute path. you must specify sign type by option '-s', and 0 is author sign. the debug.p12 and system.p12 just for test. app development must sign app with own key when the app release. you can produce a key with those command: 1、keytool -keystore debug.keystore -genkey -alias debug 2、keytool -importkeystore -srckeystore debug.keystore -srcstoretype JKS -deststoretype PKCS12 -destkeystore debug.p12 NOTICE: keyname alias password debug.p12 debug 123456 system.p12 system 123456 platform.p12 platform 123456