- Open control panel
- Click on System
- Then go to Change Environment Variables
- Then click create a new environment variables
- Create a new variable named ANDROID_SDK_ROOT path C:\Android\sdk
- Click the ok button.
- Double click the Path variable in the list.
- Click the new button.
- Paste
%ANDROID_SDK_ROOT%\platform-tools
in the field. - Click the new button again.
- Paste
%ANDROID_SDK_ROOT%\tools
in the field. - 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.