Android System Testing Environment and Runtime
https://kanru.info/slides/COSCUP_aster.svg
NOTE: the instructions are valid for GNU/Linux at the moment.
-
specify environment variable JAVA_HOME, for example:
echo 'export JAVA_HOME=/usr/lib/jvm/java-6-sun' >> ~/.bashrc
-
ASTER is built upon MonkeyRunner, which is shipped in Android Open Source Project. To get the latest MonkeyRunner, please follow the instructions: Downloading the Source Tree.
-
Assume $HOME/AOSP is the the directory containing all the files obtained through 'repo sync'
-
You need OpenCV 2.3
-
The version control system is GIT:
git clone https://github.com/kanru/aster
-
Prepare MonkeyRunner for the first time
cd $HOME/AOSP TARGET_PRODUCT=generic make monkeyrunner
Alternatively, if you already configured/build Android by 'source build/envsetup.sh', use the faster method
cd $HOME/AOSP/sdk/monkeyrunner && mm
-
Speficy framework path into local.properties for the first time
cd aster echo 'framework.dir=$HOME/AOSP/out/host/linux-x86/framework' > local.properties
-
Finally, build it:
ant compile
ant dist
dist/aster