
Note: You may need to open a new command prompt if you are getting command not found after setting environment variables. Step 8: Go to command prompt and type adb. If everything successful you will see below output. Step 7: From Edit environment variable dialogue box, Click on New and enter path for platform-tools and tools. Step 6: Select on Path variable in User or System Variable section and click on Edit or you can double click on Path variable as well. Step 5: In New User Variable dialogue, Enter Variable name as ANDROID_HOME and Variable value as C:\Users\goswa\AppData\Local\Android\Sdk and Click on OK button Step 4: In User variables or System Variable section, click on New button. Step 3: Click Environment Variables on System Properties Dialogue Steps to set Android_Home Environment Variable path

You'll get a screen that will show the location of the SDK. Next, type android sdk in the search box. Open Android Studio and go to Android Studio Preferences on a Mac or File Settings on Linux or Windows. To use it, you'll need to know where the SDK is on your machine. If you are not able to find AppData folder you can follow this article. The Android Software Development Kit (SDK) includes ADB.

To set up the Android Environment variable on Windows, you first required to have Android installation path with you.īy default it should be similar to this C:\Users\UserName\AppData\Local\Android\Sdk. When you don't want to use it inside Android studio, you can use it just in command line / terminal by: C:\Users\\AppData\Local\Android\sdk\platform-tools\adb.After you are done with installation of Android SDK on Windows 10, you must set the ANDROID_HOME environment variable to point to the Android SDK installation directory. %USERPROFILE%\AppData\Local\Android\sdk\platform-tools\) to the PATH variable


Android Studio does not contain ADB, you need Android SDK / Android SDK platform tools for it (it is installed on first run of Android Studio).
