# "Platform Android is not a valid platform to build. Check that the SDK is installed properly."

**URL:** <https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, Android, question\
**Created:** [April 2, 2022, 4:43pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950 "2022-04-02T16:43:04Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herlehos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herlehos/32/899268_2.png) [@Herlehos](https://forums.unrealengine.com/u/Herlehos)\
**Post date:** [April 2, 2022, 4:43pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/1 "2022-04-02T16:43:04Z")

</div>

Hello 🙂

After many hours of trying to configure my Android and UE5, I’m stuck on the very last step.

When I try to launch the game on my Android, I got this message:  
“Platform Android is not a valid platform to build. Check that the SDK is installed properly.”

Here is everything I did:

- I have set my Android in Developer Mode and the USB mode in “File Transfer”
- I have installed the Android drivers on my computer and the phone is well detected
- I have installed the latest version of Visual Studio 2019 and the .NET components
- I have installed JDK 8 (I also have JDK 18, but I read that JDK 8 was better for this)
- I have installed Android Studio and the “SDK command tool (latest)”
- I have used the “AndroidManager.bat” to create the NDK files
- I have accepted all the Android licences after using the “flutter doctor” command
- I have entered the pathes of SDK, NDK and JDK in Unreal project settings

And when I try to launch on my Android, everything runs fine until the very last second when I got the error message 😕

Thanks a lot for your help!

---

<div class="post-metadata">

**Author:** ![Herlehos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herlehos/32/899268_2.png) [@Herlehos](https://forums.unrealengine.com/u/Herlehos)\
**Post date:** [April 3, 2022, 3:43pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/3 "2022-04-03T15:43:57Z")

</div>

Problem solved 🙂

---

<div class="post-metadata">

**Author:** ![NautilusProj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NautilusProj](https://forums.unrealengine.com/u/NautilusProj)\
**Post date:** [April 7, 2022, 6:47pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/4 "2022-04-07T18:47:31Z")

</div>

How?

---

<div class="post-metadata">

**Author:** ![Herlehos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herlehos/32/899268_2.png) [@Herlehos](https://forums.unrealengine.com/u/Herlehos)\
**Post date:** [April 8, 2022, 9:36am UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/5 "2022-04-08T09:36:51Z")

</div>

Because the expected path of the NDK in Unreal was not the NDK folder but the sub-folder that was inside the NDK folder ^^

---

<div class="post-metadata">

**Author:** ![NautilusProj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NautilusProj](https://forums.unrealengine.com/u/NautilusProj)\
**Post date:** [May 23, 2022, 8:25am UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/6 "2022-05-23T08:25:04Z")

</div>

i’m having an issue, as the jdk 18 is not working. Instead when i select the “jre\_1.8.0” folder it works but i get an error from gradle

---

<div class="post-metadata">

**Author:** ![Tino.Kuhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tino.Kuhn](https://forums.unrealengine.com/u/Tino.Kuhn)\
**Post date:** [June 27, 2022, 3:06pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/7 "2022-06-27T15:06:37Z")

</div>

Hello! I am trying to deploy on Quest 2 from a Macbook M1 and getting the same message.  
Could you please help me in specifying all the SDK location (SDK, NDK and JDK) on my mac? Thank you so much

---

<div class="post-metadata">

**Author:** ![Herlehos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/herlehos/32/899268_2.png) [@Herlehos](https://forums.unrealengine.com/u/Herlehos)\
**Post date:** [June 27, 2022, 6:39pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/8 "2022-06-27T18:39:08Z")

</div>

This error may come from many things (a lot of things…).

Here is what it looks like on Windows:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/9/4e9aca0b2d0ae1c62ac79e6729b3ab35d300d7bb.png)

- Your SDK and NDK are supposed to be installed via Android Studio in AppData.
- Java is supposed to be installed in your Program Files.

I don’t know Mac, but you should have some equivalent folders (one where the data of your programs is saved and one where these programs are installed).

Maybe you can place your SDK and NDK at other locations, but I don’t know if it’s gonna work 😛

In Unreal for the NDK, be sure to link the sub-folder that is inside the “NDK” folder, and not the “NDK” folder itself.

For Java, you should use Java 8. It seems that Java 18 is a little bit glitchy for a lot of people.

I’m almost done with my game and I have been confronted to at least 30 different errors and I managed to fix them all, so feel free to reply to this thread if you need some help 😃

---

<div class="post-metadata">

**Author:** ![Tino.Kuhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tino.Kuhn](https://forums.unrealengine.com/u/Tino.Kuhn)\
**Post date:** [June 28, 2022, 3:21am UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/9 "2022-06-28T03:21:43Z")

</div>

Thanks so much for your reply!

I was able to match the same directories as your screenshot (see my screenshot attached)

 ![Screen Shot 2022-06-28 at 1.08.05 pm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/5/aa5f132ef3bbf237a630f56ab16fbfd6df8eea04.png)

However, it still gives me same error (“The SDK for Android is not installed properly, which is needed to generate data.”)

I’m just trying to trouble shoot this - how to make it work on a M1 Macbook Pro

- I have installed Android 10 (for Quest 2 VR Headset)

Thank you so much for you help!!

---

<div class="post-metadata">

**Author:** ![ArmarageX1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/armaragex1/32/1070383_2.png) [@ArmarageX1](https://forums.unrealengine.com/u/ArmarageX1)\
**Post date:** [July 10, 2022, 1:20pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/10 "2022-07-10T13:20:44Z")

</div>

![Screen Shot 2022-07-10 at 4.06.43 pm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/d/dfd9dc338a6ccffc81de993068711b8c0b3e9047.png)

I have been trying for several days…  
FINALLY able to export the APK!

I still get the popup “The SDK for Android is not installed properly” - but it still can export.  
Im on a Macbook 2020 - Catalina

I tried the JDK folder - but it kept spatting out errors  
Switched to the ANDROID - Jre folder (legend has it from other forums that - that one works too)  
But for MAC - maybe its different to PC - and I had to go deeper - into the Contents/HOME

And now - it finally exported !  
Hope it can help some peeps - on Mac…

---

<div class="post-metadata">

**Author:** ![lovelyhashbrown](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lovelyhashbrown](https://forums.unrealengine.com/u/lovelyhashbrown)\
**Post date:** [July 14, 2022, 7:38am UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/11 "2022-07-14T07:38:28Z")

</div>

This saved me SO much, thank you!! That was the issue for me as well.

I set mine to C:\Users$USERNAME\AppData\Local\Android\Sdk\ndk\21.1.6352462 and it works perfectly now. Obvious to me now but something I missed.

---

<div class="post-metadata">

**Author:** ![Tino.Kuhn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tino.Kuhn](https://forums.unrealengine.com/u/Tino.Kuhn)\
**Post date:** [August 22, 2022, 4:00am UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/12 "2022-08-22T04:00:38Z")

</div>

Hey, yes I got it working to export from macOS and building an .apk file - but then after installing it on the oculus quest 2 i got the error that the app is constantly stopping… ☹

---

<div class="post-metadata">

**Author:** ![Pumbasti](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pumbasti](https://forums.unrealengine.com/u/Pumbasti)\
**Post date:** [December 4, 2022, 10:36pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/13 "2022-12-04T22:36:24Z")

</div>

Could you find the solution to that problem? I also have a MAC M1 and it throws me the same error

---

<div class="post-metadata">

**Author:** ![TataOlka\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TataOlka\_1](https://forums.unrealengine.com/u/TataOlka_1)\
**Post date:** [January 15, 2023, 12:32am UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/14 "2023-01-15T00:32:00Z")

</div>

i solved it  
thank you

---

<div class="post-metadata">

**Author:** ![SpaceCat86](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spacecat86/32/634357_2.png) [@SpaceCat86](https://forums.unrealengine.com/u/SpaceCat86)\
**Post date:** [April 4, 2023, 8:57pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/15 "2023-04-04T20:57:08Z")

</div>

Thank you. I spent hours trying to fix this issue. This solved it.

---

<div class="post-metadata">

**Author:** ![ikaroweb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ikaroweb](https://forums.unrealengine.com/u/ikaroweb)\
**Post date:** [June 14, 2023, 10:51am UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/16 "2023-06-14T10:51:04Z")

</div>

Thanks, works for me!

---

<div class="post-metadata">

**Author:** ![JARTZ](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jartz/32/732589_2.png) [@JARTZ](https://forums.unrealengine.com/u/JARTZ)\
**Post date:** [July 13, 2023, 1:04pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/17 "2023-07-13T13:04:17Z")

</div>

i want to share update with `UE5 5.2.1` in 2023 for MAC M1 Pro, OS Sonoma 14.0

 ![Screenshot 2023-07-13 at 8.01.44 AM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/e/14e3da766bbdbbeb848a3283189caff412ad26c2.png)

---

<div class="post-metadata">

**Author:** ![ApocAmok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ApocAmok](https://forums.unrealengine.com/u/ApocAmok)\
**Post date:** [July 16, 2023, 5:12pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/18 "2023-07-16T17:12:45Z")

</div>

Since none of this worked for me, another thing to take into account if all of your SDK, NDK and Java paths are correct and things still aren’t working or you are getting the “Check that the SDK is installed properly” message, try installing the .NET Core 3.1 Desktop Runtime installer (FOR windows problems only) and that should make it work.

---

<div class="post-metadata">

**Author:** ![ApocAmok](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ApocAmok](https://forums.unrealengine.com/u/ApocAmok)\
**Post date:** [July 16, 2023, 5:15pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/20 "2023-07-16T17:15:36Z")

</div>

The software can be found here:

> **[Download .NET Core 3.1 Desktop Runtime (v3.1.32) - Windows x64 Installer](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-3.1.32-windows-x64-installer?cid=getdotnetcore)**

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 11, 2023, 6:09pm UTC](https://forums.unrealengine.com/t/platform-android-is-not-a-valid-platform-to-build-check-that-the-sdk-is-installed-properly/511950/21 "2023-10-11T18:09:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
