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

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

Here is what it looks like on Windows:

  • 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 :stuck_out_tongue:

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 :smiley:

7 Likes