Common errors in Appium Automation

  
 1) No such element
 2) socket hang up
 3) adb related errors
 4) Webdriver agent related error

 

What actions required whenever appium inspector not working

  
  In Android,
  
  1) Kill the emulator and Launch it in Cool Boot mode again through Android Studio AVD Manager
  2) Restart Machine
  3) Verify Setup
  4) Uninstall/Install Appium Desktop 
  
  In iOS,
  
  1) Kill the simulator and Launch it again through XCode
  2) Restart Machine
  3) Verify Setup
  4) Uninstall/Install Appium Desktop