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"

Android SDK level in 4.22

Hi,

After installing 4.22, and the provided CodeWorks, I am unable to build my game. When the build process gets to generating the APK, I get the following errors:

 07:52:10 [07:52:10]         [Exec] Requires at least SDK API level 28, currently set to 'android-26'
 07:52:10 [07:52:10]         [Exec] ERROR: Can't make an APK without SDK API 'android-28' minimum installed

Should I manually install Android SDK 28?

Product Version: UE 4.22
Tags:
more ▼

asked Apr 03 '19 at 12:53 PM in Installation & Setup

avatar image

bsanterre
46 1 2 5

avatar image HailstoneRyan Apr 09 '19 at 07:18 PM

Did you manage to figure this out? Did you install it manually?

avatar image bsanterre Apr 10 '19 at 02:45 PM

Yes. I worked around the problem by manually installing Android-28 using the SDK command line tools (found here: https://developer.android.com/studio ), and copying the android-28 folder to C:\NVPACK\android-sdk-windows\platforms

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

1 answer: sort voted first

how did you install it i have the same issue but everywhere i look i cant find any info. i have level 28 in my platform folders but it w

my error: LogPlayLevel: ====5/19/2019 2:11:27 PM====PREPARING TO MAKE APK================================================================= LogPlayLevel: bBuildForES2: false

LogPlayLevel: bBuildForES31: true

LogPlayLevel: bSupportsVulkan: false

LogPlayLevel: Building Java with SDK API level 'android-28'

LogPlayLevel: Error: ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\NVPACK\android-sdk-windows\build-tools'.

more ▼

answered May 19 '19 at 07:17 PM

avatar image

veosity
1

I had the same issue as above,

  1. went to ..\NVPACK\android-sdk-windows\tools\

  2. clicked on android.bat to open it

  3. unchecked all options listed (it knew i needed ver 9 and 10 still)

  4. only checked back on the "SDK Platform" for Android 9 and 10

  5. and checked on "Android SDK Platform-tools" to let it update that too

  6. install the 3 packages

  7. Reopened UE4, complied project, and worked just fine.

Let me know if you need a screenshot or two, Good luck!

(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