android - how to sign an already compiled APK -
i've decoded apk apktool (as original source code lost) fix issues layout xml files. i've rebuilt apktool , when tried install on device (using adb: adb install appname.apk) gave me error:
[install_parse_failed_no_certificates]
the original apk signed keystore (on eclipse ide), 1 isn't, how can sign it's original keystone file outside eclipse!?
create key using
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg rsa -keysize 2048 -validity 10000
then sign apk using :
jarsigner -verbose -sigalg sha1withrsa -digestalg sha1 -keystore my-release-key.keystore my_application.apk alias_name
Comments
Post a Comment