-
-
Save diegoperini/f577ad4c6c5df2462f1eeec13cc4fd72 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 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 | |
~/Library/Android/sdk/build-tools/30.0.3/zipalign -v 4 temp.apk temp.apkz | |
mv temp.apkz app-signed.apk && rm temp.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment