x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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 (https://developer.android.com/studio/index.html), setup SDK and NDK path in your UE4 configuration, and package empty C++ project for Android.

Product Version: UE 4.15
Tags:
more ▼

asked Mar 03 '17 at 06:54 AM in Bug Reports

avatar image

endragorr
41 2 5 9

avatar image JakeOliveros Dec 07 '17 at 07:39 AM

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:\NVPACK\android-sdk-windows\tools run android.bat

-Deselect all Select and Update them alt text

sdk.jpg (70.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Endragorr,

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

Thanks!

more ▼

answered Mar 03 '17 at 06:30 PM

avatar image endragorr Mar 07 '17 at 12:13 PM

Thank you, Samantha. 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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Mar 07 '17 at 12:04 PM

avatar image

tianqi
6 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question