The following are the errors you might observe with Appium.
Error#1: Missing desired capabilities e.g. Device Name, PlatformName.
Error#2: Couldn’t locate ADB. You may have missed setting the <ANDROID_HOME> environment variable.
Error#3: Selenium exception <openqa.selenium.SessionNotCreatedException>. It indicates a failure in creating a new session.
Error#4: Failure in locating a DOM element or determining the XPath.