mirror of
https://github.com/appium/appium.git
synced 2026-02-09 19:28:48 -06:00
14 lines
498 B
Bash
Executable File
14 lines
498 B
Bash
Executable File
#!/bin/bash
|
|
set +e
|
|
|
|
COMPONENTS=build-tools-19.0.3,android-19,android-18,android-16,extra-android-support
|
|
|
|
mkdir -p $HOME/tools/android
|
|
|
|
( curl -L https://raw.github.com/appium/android-sdk-installer/master/android-sdk-installer | \
|
|
bash /dev/stdin --dir=$HOME/tools/android --install=$COMPONENTS ) &&\
|
|
source $HOME/tools/android/env
|
|
|
|
# to configure the emulator, add sysimg-18 to COMPONENTS and uncomment the line belor
|
|
# echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a
|