# Android SDK not recognized by Unreal Engine 5

**URL:** <https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686>\
**Category:** Mobile\
**Tags:** SDK, unreal-engine, config, Android, question\
**Created:** [January 13, 2023, 5:33pm UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686 "2023-01-13T17:33:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hiko\_9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hiko\_9](https://forums.unrealengine.com/u/Hiko_9)\
**Post date:** [January 13, 2023, 5:33pm UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686/1 "2023-01-13T17:33:58Z")

</div>

Hi everyone, im new in Unreal and im trying to make Android export work, followed some tutorials, read the documentation and the forum, as far as i know this should be working but Unreal does not recognize Android for the export. Ill try to put in here my config as detailed as i can:

i tried with Android sdk 4 (as required in the tutorial for Unreal 5), in one of the steps it says i must run a .bat

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/5/e65ef7a6f84988db378a1009ac7300ac1ee0c89c.png)

this is what i get when i try to run that.  
so i installed the version 3.5.3, still the same message is shown.

This is how my config looks like:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/3/513de6916a45041562bf92b9d29501d1785edba8.png)

Also checked the regedit  
HKEY\_LOCAL\_MACHINE\SOFTWARE\Android Studio  
it looks like this  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/b/5fbe7efdbcc28cd64936b6179aa134dbe642f486.png)

Also did this installation using visual studio 2019 as required in the tutorial

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/b/e8b3529faa29a27aea7934ee96887cad339d0e87.png)

restarted many times, yet it looks like this  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/b/3db193fb6fb06f02c2320ae6d40f84a605ed835c.png)

Any help will be appreciated.  
Thanks a lot

---

<div class="post-metadata">

**Author:** ![Cdaked](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cdaked](https://forums.unrealengine.com/u/Cdaked)\
**Post date:** [January 14, 2023, 12:27am UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686/2 "2023-01-14T00:27:08Z")

</div>

Hi, I went directly from version 4.27.2 to 5.1, but I imagine it will be the same with 5.0, be sure to follow the steps that Epic tells you when making a Android build, installing Android Studio, configuring the system, the UE project, and compiling native for Android for the specific Unreal Engine version you are using; always follow the Unreal Engine documentation.  
For example: if you are using version 5.1, you would have to launch the SetupAndroid.bat from \Program Files\Epic Games\UE\_5.1\Engine\Extras\Android, to install the NDK r25b (NDK API Level = Android-25) and not the 21, which is the one I see you have set and would give you problems (you may need more things, you have to follow the steps one by one and ignore old tutorials).  
I use Quest 2 (native android) with UE5.1, I have not tested with tablets.

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [January 14, 2023, 3:04pm UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686/3 "2023-01-14T15:04:09Z")

</div>

Have you installed Android Studio properly?

---

<div class="post-metadata">

**Author:** ![Hiko\_9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hiko\_9](https://forums.unrealengine.com/u/Hiko_9)\
**Post date:** [January 16, 2023, 10:55am UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686/4 "2023-01-16T10:55:55Z")

</div>

Thanks for answering, i´ve beeing trying, uninstalled android studio and reinstalled again folowing this:

> **[Setting Up Android SDK and NDK](https://docs.unrealengine.com/5.0/en-US/how-to-set-up-android-sdk-and-ndk-for-your-unreal-engine-development-environment/)**
>
> How to set up your Android development environment for Unreal Engine

get untill step 3, Setting up android NDK. but when trying to execute SetupAndroid.bat  
this is what i see

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/3/36312a3146a8b8ade78bb154ecbf5f76852c0a37.png)

although i installed android stuidio 4.0 as the docs says for unreal 5.0.1.  
the only thing im thinking about is, that i have my unreal installationin in another location, not the default **C:/Program Files/Epic Games** but that shouldn´t be a problem, should be?

---

<div class="post-metadata">

**Author:** ![Cdaked](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cdaked](https://forums.unrealengine.com/u/Cdaked)\
**Post date:** [January 16, 2023, 3:17pm UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686/5 "2023-01-16T15:17:29Z")

</div>

Unreal Engine can be in another drive (I have it in another) but I seem to remember that all the Android Studio part has to be in the C: drive, I have all the Java and Android in C:.  
It is very possible that this is the problem, I think it happened to me and I saw it somewhere that it was totally necessary.  
Let us know if this is the case.

Use UE version 5.1 better; 5.0 is buggy.

---

<div class="post-metadata">

**Author:** ![Hiko\_9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hiko\_9](https://forums.unrealengine.com/u/Hiko_9)\
**Post date:** [January 16, 2023, 6:32pm UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686/6 "2023-01-16T18:32:05Z")

</div>

Yes i have all the android studio installation is in C in the default path.  
Ill try updating tu UE 5.1

---

<div class="post-metadata">

**Author:** ![Hiko\_9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hiko\_9](https://forums.unrealengine.com/u/Hiko_9)\
**Post date:** [January 19, 2023, 11:20am UTC](https://forums.unrealengine.com/t/android-sdk-not-recognized-by-unreal-engine-5/748686/7 "2023-01-19T11:20:26Z")

</div>

That fixed it, i installed UE 5.1, now the .bat file runs and installs de NDK, and android is available to use:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/b/efb033fa49b3ac66b927b5d34445b8c1bcb18ebc.png)

Thank you all!
