Created
September 4, 2013 21:07
-
-
Save doublerebel/6442899 to your computer and use it in GitHub Desktop.
Sign apk with Android default debug keystore. Required for TestFlight module to recognize build as debug. Titanium Mobile signs with its own tirocks keystore by default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp app-unsigned.apk temp.apk | |
jarsigner -verbose -keystore ~/.android/debug.keystore -digestalg SHA1 -sigalg MD5withRSA -storepass android -keypass android temp.apk androiddebugkey | |
$ANDROID_SDK/tools/zipalign -v 4 temp.apk temp.apkz | |
mv temp.apkz $1 && rm temp.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment