Skip to content

Commit

Permalink
android build script
Browse files Browse the repository at this point in the history
  • Loading branch information
markharding committed Jul 13, 2015
1 parent 904bab5 commit 51f664c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build-android.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

echo "Building armv7"

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore mindsdev.keystore platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk alias_name
rm minds.apk
/usr/local/opt/android-sdk/build-tools/22.0.1/zipalign -v 4 platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk minds.apk

echo "Building x86"

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore mindsdev.keystore platforms/android/build/outputs/apk/android-x86-release-unsigned.apk alias_name
rm minds-x86.apk
/usr/local/opt/android-sdk/build-tools/22.0.1/zipalign -v 4 platforms/android/build/outputs/apk/android-x86-release-unsigned.apk minds-x86.apk

0 comments on commit 51f664c

Please sign in to comment.