Latest Android SDK is not supported

UE 4 relies on tools/android tool from Android SDK. It has been deprecated in the latest version of SDK (25) and always outputs this:

The android command is no longer available.

For manual SDK and AVD management, please use Android Studio.

For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager

Because of this, UE4 Android build always fails, if you use the latest SDK version.

To reproduce this, you can install the latest SDK with Android Studio (Android 스튜디오 및 앱 도구 다운로드 - Android 개발자  |  Android Developers), setup SDK and NDK path in your UE4 configuration, and package empty C++ project for Android.

Endragorr,

Android-25 is not available for 4.15, please use Android-24 and below.

Thanks!

I’ve already upgrade the sdk and there’s no tools/android tool there. How should I down grade the sdk?

Thank you, . Yes, I figured it out, just added the post to ensure that you are aware of the issue and have support of the latest SDK in the backlog.

CodeWorks Location in Unreal Engine Folder
C:\Program Files\Epic Games\UE_4.18\Engine\Extras\AndroidWorks\Win64
run CodeWorksforAndroid-1R6u1-windows.exe

If you had issue with license
Update SDK
C:\android-sdk-windows\tools
run android.bat

-Deselect all
Select and Update them

222863-sdk.jpg