Appium install failure – reset.sh exited with status 1

PROBLEM

When trying to complete the install of Appium by running

./reset.sh

I was seeing an error which said

 reset.sh exited with status 1

I re-ran the script for ios only and it completed successfully…see below:

 ./reset.sh --ios
---- reset.sh completed successfully ----

I then tried running the script for android only and turned on verbose logging – it failed as follows:

 ./reset.sh --android --verbose

Error: Target id is not valid. Use 'android list targets' to get the target ids.
Warning: Setup cmd /Users/user/Android/sdk/tools/android failed with code 1 Use --force to continue.

SOLUTION

This error occurred because the reset.sh script has a hard coded reference to the Android SDK Level 19 API and I didn’t have that version of the API installed.
To rectify this I installed the SDK 19 API and then re-ran the script for android. It completed successfully..see below:

 ./reset.sh --android --verbose

---- reset.sh completed successfully ----
Advertisements

One thought on “Appium install failure – reset.sh exited with status 1

Please leave a comment - any questions or feedback welcome.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s