- Mar 19, 2018
- admin
- 0
Common Issues of Appium
Error 1: The following desired capabilities are a must, however these are not given: deviceName, platformName
Solution: Add missing desired capabilities e.g. device Name, platformName in the Appium script.
e.g.: capabilities.setCapability (“deviceName”,”Emulator”); capabilities.setCapability (“platformName”,”Android”);
Error 2: Couldn’t discover adb. Please set the ANDROID_HOME environment variable with the Android SDK root directory path.
Solution: You have to set up SDK root directory path in system ‘Environment Variables’ as ANDROID_HOME variable and provide Platform tools and Tools in ‘Path’ column.
Error 3: org.openqa.selenium.SessionNotCreatedException: Another session could not be created.
Solution: You have to provide correct App path and restart the Appium server.