Build for Android fails with varying errors

I can’t seem to get Unreal Engine to build for Android. This works just fine in Android Studio, Unity and other engines, but Unreal Engine seems to be incapable of finding the Android SDK for an unknown reason. My Android SDK installation has every single SDK iteration that can be built for and the NDK does too. Paths are set correctly too so I don’t know why UE is having issues with it (Android SDK points at SDK, Android NDK points to SDK/ndk-bundle, ANT points at ANT-1.10.1, JDK points at jdk-1.8.0_141). Edit: I have already tried Nvidia Codeworks, that is the one where the same errors happen.

One of the following errors will happen:

  1. AutomationTool can’t find the proper API even though it is installed, log
  2. AutomationTool uses an outdated android.bat command that is not supported anymore, log

Did not help. Codeworks shows the first issue, while the native Android SDK (which Unreal should support) shows the 2nd one.

Hi ,

See if this helps: Solution

Thanks