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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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
56 2 3 6

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

avatar image TCS Production Jun 06 '19 at 08:48 AM

Bonjour,

j'ai le meme probleme, une ou deux capture d'écran se serait ideal si vous pouvez bien sur Merci d'avance

(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 1

avatar image manicdanunreal May 24 '19 at 01:47 AM

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!

avatar image Fisher007 May 29 '19 at 04:47 PM

This worked perfectly for me, thanks a lot!

avatar image Evigmae Jun 03 '19 at 09:39 PM

Thanks for this :)

avatar image TCS Production Jun 07 '19 at 08:03 AM

Bonjour à vous,

J'ai besoin de votre aide, malgré mes recherches et même avec ce lien : https://answers.unrealengine.com/questions/887162/view.html je n'arrives toujours pas à tester sur android, je m'expliques : je voudrais juste tester un niveau sur mon téléphone samsung s8+, problème rencontré : - no device found (résolu une fois que j'ai réussi à initialiser la commande "adb devices") - quand je lance "launch" sur mon appareil reconnu, j'ai eu LogPlayLevel: Error: ERROR: Can't make an APK without SDK API 'android-28' minimum installed j'ai donc regarder sur answerhub et installer manuellement Android-28 à l'aide des outils de ligne de commande du SDK
- actuellement sur la version UE 4.22.2 j'ai device not found encore et malgré un redémarrage et une configuration du projet et même si adb devices fonctionne et reconnait mon tél je ne peux plus tester sur mon appareil puisqu’il n'ait pas reconnu sur unreal engine

J’apprécierais grandement votre aide.

avatar image veosity Jun 07 '19 at 08:13 AM

J'ai désinstallé et réinstallé le sdk android et cela a fonctionné. Je ne sais pas si cela fonctionnerait pour vous, mais cela a fonctionné pour moi.

avatar image TCS Production Jun 11 '19 at 04:53 AM

Merci pour le conseil, mais cela ne fonctionne toujours pas, cependant aprés des recherches encore :) j'ai trouvé cette vidéo : https://www.youtube.com/watch?v=mTKnH_hpU0k

sa aide beaucoup et on apprend a faire un package pour mobile par le biais de la console windows, reste plus qu'a réglé les matériaux en PBR pour qu'ils soient moins lourd

merci encore pour votre aide

(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