# Android Studio Path: "C:\\Program Files\\Android\\Android Studio" Unable to locate local Android SDK

**URL:** <https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [May 29, 2020, 6:48am UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686 "2020-05-29T06:48:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![liam.vd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@liam.vd](https://forums.unrealengine.com/u/liam.vd)\
**Post date:** [May 29, 2020, 6:48am UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/1 "2020-05-29T06:48:34Z")

</div>

Good morning,

I followed all the steps on [this page](https://docs.unrealengine.com/en-US/Platforms/Mobile/Android/Setup/AndroidStudio/index.html) yet, impossible to complete step 3. I get the error message I put in the title every time I try. Has anyone else ever had this problem? I’ve already tried to reinstall it but it doesn’t work.

---

<div class="post-metadata">

**Author:** ![tamerbek](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tamerbek/32/743645_2.png) [@tamerbek](https://forums.unrealengine.com/u/tamerbek)\
**Post date:** [May 31, 2020, 5:06pm UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/2 "2020-05-31T17:06:23Z")

</div>

Same problem!

---

<div class="post-metadata">

**Author:** ![DarknessFX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darknessfx/32/1194676_2.png) [@DarknessFX](https://forums.unrealengine.com/u/DarknessFX)\
**Post date:** [June 4, 2020, 8:20pm UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/3 "2020-06-04T20:20:37Z")

</div>

If you used the default installation folder, the SDK is located at %localappdata%\Android\Sdk , open this path on your Windows Explorer and then copy the entire path to your Android SDK project settings.

---

<div class="post-metadata">

**Author:** ![liam.vd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@liam.vd](https://forums.unrealengine.com/u/liam.vd)\
**Post date:** [August 20, 2020, 3:16pm UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/4 "2020-08-20T15:16:59Z")

</div>

I uninstal Android Studio and all the files linked to the instal in c:\ and make a new installation. At step 4, I made a standard installation and that’s it ! Now it’s working

---

<div class="post-metadata">

**Author:** ![wawoo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wawoo/32/750764_2.png) [@wawoo](https://forums.unrealengine.com/u/wawoo)\
**Post date:** [February 25, 2021, 9:00am UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/5 "2021-02-25T09:00:59Z")

</div>

if you still have sdk or ndk or java installation problem, please setup all links from your “project settings /platforms Android Sdk” / set path for sdk and ndk and java “jre” folder

---

<div class="post-metadata">

**Author:** ![vlab22](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vlab22/32/751227_2.png) [@vlab22](https://forums.unrealengine.com/u/vlab22)\
**Post date:** [August 10, 2021, 11:28am UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/6 "2021-08-10T11:28:39Z")

</div>

If you installed the Andoid SDK (not Studio) in a different folder than the default (`%LOCALAPPDATA%\Android\Sdk`).

Edit the  
`Engine\Extras\Android\SetupAndroid.bat`  
file to point to your SDK folder.

Ex:  
change the line

```auto
set ANDROID_LOCAL=%LOCALAPPDATA%\Android\Sdk

```

to

```auto
set ANDROID_LOCAL=C:\Android\sdk

```

**C:\Android\sdk** is an example, replace with your path to the Android SDK

Save the file and execute it.

---

<div class="post-metadata">

**Author:** ![JetFighterPilot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JetFighterPilot](https://forums.unrealengine.com/u/JetFighterPilot)\
**Post date:** [November 29, 2022, 10:27pm UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/7 "2022-11-29T22:27:06Z")

</div>

Try next:

- Go to your `AppData\Local\Android\Sdk` folder
- Search for `sdkmanager.bat`
- Navigate to its location and copy it
- Open `SetupAndroid.bat` with Notepad (or other editor of your choice)
- Find the line(s) which contains `sdkmanager.bat`
- Paste the copied location (for example `\cmdline-tools\latest\bin\sdkmanager.bat`)
- Save, exit, and run the edited file

This worked for me.

---

<div class="post-metadata">

**Author:** ![Shine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shine/32/1123463_2.png) [@Shine](https://forums.unrealengine.com/u/Shine)\
**Post date:** [August 30, 2025, 9:39pm UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/8 "2025-08-30T21:39:05Z")

</div>

其实还可以直接设置 ANDROID\_HOME 环境变量，因为修改 SetupAndroid.bat 脚本后，SetupAndroidEmulator.bat 脚本又会读取 ANDROID\_HOME 环境变量，所以在执行这个脚本的时候还会报错。

我的解决方案是添加一个 ANDROID\_HOME 环境变量，值为sdk的目录值

![屏幕截图 2025-08-31 021611](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/c/b8cb7b18cc590aee6aa65b311c62b51afeae888e.png)

---

<div class="post-metadata">

**Author:** ![slim\_sheady19](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slim_sheady19/32/1092065_2.png) [@slim\_sheady19](https://forums.unrealengine.com/u/slim_sheady19)\
**Post date:** [November 13, 2025, 3:05am UTC](https://forums.unrealengine.com/t/android-studio-path-c-program-files-android-android-studio-unable-to-locate-local-android-sdk/144686/9 "2025-11-13T03:05:57Z")

</div>

@JetFighterPilot @vlab22  
THANK YOU GOOD SIRS
