Skip to content

This project contains scripts to rename the package name of apk and to sign the apk

Notifications You must be signed in to change notification settings

ParikaGoel/apkRename

Repository files navigation

"# apkRename"

To Change the package name of apk, execute the command in below format on command prompt :

packageRename.sh <path_to_apk> <newPackageName>

Example :

packageRename.sh myTest.apk com.mycomp.myProject

The apk formed after executing above command is not signed. Use apkSign.sh script to produce a signed version.

Execute command in below format :

sh apkSign.sh <path_to_apk> <keystore_file>

Example :

sh apkSign.sh myTest.apk my.keystore

invoke.sh : script to execute above commands and take logs in separate file at the same time

Some More Info about generating and signing keystore file :

Generating keystore file :

keytool -genkey -v -keystore my.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias app

Signing:

jarsigner -keystore my.keystore -sigfile CERT -sigalg SHA1withRSA -digestalg SHA1 -storepass test@123 -keypass test@123 myTest.apk app

About

This project contains scripts to rename the package name of apk and to sign the apk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published