Appium could not start a new session response code 500 (Cannot find C:\Android\sdk\bin)

  1. Open control panel
  2. Click on System
  3. Then go to Change Environment Variables
  4. Then click create a new environment variables
  5. Create a new variable named ANDROID_SDK_ROOT path C:\Android\sdk
  6. Click the ok button.
  7. Double click the Path variable in the list.
  8. Click the new button.
  9. Paste %ANDROID_SDK_ROOT%\platform-tools in the field.
  10. Click the new button again.
  11. Paste %ANDROID_SDK_ROOT%\tools in the field.
  12. click ok

ANDROID_HOME is replaced with ANDROID_SDK_ROOT 

https://github.com/quasarframework/quasar/issues/7867

Important Note: After saving the environment variable. Please close all of your running Appium Server and close the command prompt. and then again run the command prompt newly.