Created
July 20, 2010 21:28
-
-
Save jaymzcd/483626 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
android create project --target 1 --name "$1" --path ${1,,} --activity $1 --package eu.jaymz.${1,,} | |
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
#!/bin/bash | |
apk=`ls bin/*-unsigned.apk` | |
base=`basename $apk` | |
class=`expr "$base" : '\(.*\)-unsigned.apk'` | |
ant release | |
/usr/lib/jvm/java-6-sun-1.6.0.20/bin/jarsigner -verbose -keystore /home/jaymz/development/phone-dev/jaymzeu-releasekey.keystore bin/$class-unsigned.apk jaymzeu | |
rm -i bin/$class.apk | |
zipalign -v 4 bin/$class-unsigned.apk bin/$class.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment