Skip to content

kanru/aster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aster

Android System Testing Environment and Runtime

https://kanru.info/slides/COSCUP_aster.svg

How to build and run ASTER

NOTE: the instructions are valid for GNU/Linux at the moment.

Prerequisites for Building ASTER

  • 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

Get Source

  • The version control system is GIT:

    git clone https://github.com/kanru/aster
    

Build

  • 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
    

Run ASTER

ant dist
dist/aster

About

Android System Testing Environment and Runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages