HOW TO SIGN A MODDED AN APK ON A MAC WITH APKTOOL

Barbara Jones

Total Post:13

Points:91
Posted by  Barbara Jones
 1045  View(s)
Ratings:
Rate this:
I have created a modded apk using api tool but when i try to install it , it doesn't install. When I rechecked and compared it with old api I found out my apt wasn't signed. I searched a lot but couldn't find out a method to sign apk on mac OS X.
  1. Alex Leblois

    Post:67

    Points:471
    Re: how to sign a modded an apk on a mac with apktool

    Got my solution- I use keytool, Jarsigner and zipalign from JDK by using following commands in terminal

    To generate keystore

    keytool -genkey -v -keystore my-keystore.keystore -alias name_alias -keyalg RSA -validity 10000

    To sign an apk

    jarsigner -verbose -keystore <path of my-keystore.keystore> <path of apk>  alias_name

    To zip align an apk

    zipalign -f -v 4 <your.apk >  <your_aligned.apk>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!