When trying to complete the install of Appium by running
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.
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 ----