We need to start appium GUI tool first, and setup some parameters.
For Android, we need to set path of test app, like:
and we also need to configure appium GUI to prelaunch the test app:
After all these, we can Launch
appium.
If you are using appium v1.1.0, you need to copy the zipalign
from the sdk "build-tools" folder, such as "/Applications/adt/sdk/build-tools/19.1.0", to "/Applications/adt/sdk/tools".
This issue is fixed in appium v1.2.0.