Académique Documents
Professionnel Documents
Culture Documents
Screen#2:
Screen#3:
2. Setup Environment variable for JDK
3. Download Android
Screen#1:
Screen#2:
Screen#3:
Screen#2:
7. Donwload Appium
Screen#1:
Screen#2:
Screen#3:
Screen#4:
Screen#5:
Screen#6:
Screen#2:
Note: If you get any error while starting the Appium Server, just switch over one version back.
Screen#2:
Trouble shooting:
1. Run the program
Error description: Failed to start an Appium session. Err was: Could not find zipalign in tools,
platform-tools, or supported build-tools
Screen#1:
This error is due to API version of phone and respective Android SDK build tool is not installed in
SDK Manager.
For example phones API level 19 (See the top line in Screen#1; debug Device is at API Level 19)
and that is not present in Android SDK Manager.
2. Install everything under Tools node
Screen#1:
3. Install correct Android version and API Level
Screen#1:
Error Description: A new session could not be created. (original error: Requested a new session but
one was in progress) .
This error comes up when driver object is not quitted at the end of code.
Screen#1:
After this you have to re-start the Appium server as well.
Note: Every time you run the program in eclipse and if it runs successfully then it will delete the
respective application from your mobile and re-install it.
To prevent this, Stop the Appium Server, Go to Android Settings (first icon), Select the No Reset
check box.
If application is not present in device then you must uncheck the No Reset check box.
Screen#1:
Error Description: Logcat capture failed: spawn ENOENT
debug: Waiting for device to be ready and to respond to shell commands (timeout = 5)
This error comes when there is space in folder name. E.g. D:\Sanjay\Sanjay\Automation Projects
Remove the space and set the Android path again in Environment Variables.