-
Install Android SDK, add
build-tools
andplatform-tools
to$PATH
, and make sure the commanddx
is invocable in your shell.-
Mac OS:
ANDROID_HOME
can be found at/Users/<your-name>/Library/Android/sdk/
-
You can save the following two lines into a file named AndroidSDK and put the file into
/etc/path.d
. Next time when you open a new terminal./Users/tianxiaogu/Library/Android/sdk/build-tools/25.0.3 /Users/tianxiaogu/Library/Android/sdk/platform-tools
-
-
Install
ant
http://ant.apache.org/- Mac OS:
brew install ant
- Mac OS:
-
Install a JDK 1.7 or higher
-
Run command
ant
to build the project. You will find a file namedape.jar
.
- Upload the
ape.jar
to/sdcard/
adb push ape.jar /sdcard/
- Update the
ape
script for invoking the ape in the phone.adb push ape /sdcard/
-
Via
adb shell
adb shell ape
ape
inherits all options from Monkey.
-
Via the
ape.py
from your local shell../ape.py