wok annotate android-sdk/stuff/tazdroid @ rev 25151
orc-dev: added .la file
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 11:07:10 2022 +0100 (2022-06-30) |
parents | |
children |
rev | line source |
---|---|
pankso@16447 | 1 #!/bin/sh |
pankso@16447 | 2 # |
pankso@16447 | 3 # Small utility to work with Android SDK on SliTaz. It also act has a |
pankso@16447 | 4 # wrapper fot SDK tools such as 'android' or 'emulator'. |
pankso@16447 | 5 # |
pankso@16447 | 6 # (C) 2014 SliTaz GNU/LInux - BSD License |
pankso@16447 | 7 # |
pankso@16447 | 8 |
pankso@16447 | 9 export PATH=$PATH:/opt/android-sdk/tools |
pankso@16447 | 10 export PATH=$PATH:/opt/android-sdk/platform-tools |
pankso@16447 | 11 export PATH=$PATH:/opt/android-sdk/build-tools |
pankso@16447 | 12 |
pankso@16447 | 13 usage() { |
pankso@16447 | 14 echo "Usage: $(basename $0) [help|emulator|export]" |
pankso@16447 | 15 } |
pankso@16447 | 16 |
pankso@16447 | 17 # Handle commands |
pankso@16447 | 18 |
pankso@16447 | 19 case "$1" in |
pankso@16447 | 20 usage|help) usage ;; |
pankso@16447 | 21 emulator) emulator $@ & ;; |
pankso@16447 | 22 *) android $@ & ;; |
pankso@16447 | 23 esac && exit 0 |