Recompile Android Application using APKTool
Simple step to recompile android application using apktoolapktool b <folder> <new apk name>
Example:
apktool b myapp myapp-new.apk
Not done yet, you need to sign the application.
Following command to generate keystore and sign the application.
keytool -genkey -v -keystore <keystore file name> -alias <alias> -keyalg RSA -keysize 2048 -validity 7300 jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore <keystore file name> <apk name> <alias>
Example:
keytool -genkey -v -keystore myapp.keystore -alias myapp -keyalg RSA -keysize 2048 -validity 7300 jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -keystore myapp.keystore app-new.apk myapp
Subscribe to:
Post Comments
(
Atom
)
This comment has been removed by a blog administrator.
ReplyDelete