Need help Installing appium for android with ./ --android throws error

Hey All,
Can anyone help me with getting pass this error to setup Appium with Android?

Setup: Installed Android Studio and setup Android path variable already

  1. Clone Git
  2. Ran ./ --android
  3. I get this error and I have already created AVDs for the 4 android targets I have.

Actual Results:

  • Configuring Android bootstrap
    Running “configAndroidBootstrap” task
    Error: Target id is not valid. Use ‘android list targets’ to get the target ids.
    Warning: Setup cmd /Users/vnvdm/Documents/android-sdk-macosx/tools/android failed with code 1 Use --force to continue.
1 Like

Installing Android API 19 SDK allowed me to overcome this error.