mirror of
https://github.com/appium/appium.git
synced 2026-10-24 01:28:55 +08:00
1b18834374
If version isn't specified, Maven tries to compile with an older version of the Android SDK.
Bootstrap Android
To install the Android Maven dependencies in your local environment, run the following:
- Clone https://github.com/mosabua/maven-android-sdk-deployer into your workstation
- Set the ANDROID_HOME environment to the location of the Android SDK, eg.
export ANDROID_HOME=/Developer/adt-bundle-mac-x86_64-20130219/sdk/ - Run
mvn install -P 4.2from themaven-android-sdk-deployerdirectory. The build will fail if API 17 and some extra packages are not installed.
You can then compile the bootstrap project by running
mvn package -P 4.2