-
Notifications
You must be signed in to change notification settings - Fork 5
/
update.sh
executable file
·15 lines (11 loc) · 1007 Bytes
/
update.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
export ANDROID_HOME="/usr/local/apps/android-sdk-macosx"
mv ./launcher/build.xml ./launcher/build.xml.prev
mv ./modules/instead_standalone/build.xml ./modules/instead_standalone/build.xml.prev
mv ./modules/play_apk_expansion/build.xml ./modules/play_apk_expansion/build.xml.prev
mv ./modules/play_licensing/build.xml ./modules/play_licensing/build.xml.prev
# Please note, the number '2' in '--target 2' below is the index of the android platform on your machine. To obtain it, execute 'android list targets' command
$ANDROID_HOME/tools/android update project --subprojects --target 2 --path launcher --name Instead-NG
$ANDROID_HOME/tools/android update project --subprojects --target 2 --path modules/instead_standalone --name instead_standalone
$ANDROID_HOME/tools/android update project --subprojects --target 2 --path modules/play_apk_expansion --name play_apk_expansion
$ANDROID_HOME/tools/android update project --subprojects --target 2 --path modules/play_licensing --name play_licensing