Hey i just downloaded Android studio
to make a game into my android (Hawaii Y9)
so i need an ndk and jdk and sdk right?
i found alot of versions
what should i use?
Data:
im using UE5.3.2
My target phone: Hawaii Y9
My Android Studio: android studio flamingo | 2022.2.1 Patch 2 May 24, 2023
Game built in: Full-Blueprint (its have c++ by default engine but i didn`t used it)
You should use the latest stable version of each, in my opinion. However, if you want it to work on older versions of Android at the cost of stability you could use an older versionā¦ Though I think itās generally accepted to only go up to 2 versions back.
hey !
i searched for āunreal android setupā
but i didnt found anything about the version part theyre saying something like:
download android studio and then download sdkcommandline
but idk which version of it
and i mean something like this 21.34.314.5 this is not it, its just an example
and inside ue5.3.2 i found in the anrdoid section
requ ā r25b version
and i searched what is that version and i have found its
ā25.1.8937393ā
and i downloaded it and now im trying to extract the game!
its extracting so after it done and after the test, i will let you know what i got and what i did
i see. it really depends on the editor version and the app versions.
itās a bit of a headache. there are a few thread posts and youtube videos that go into that details.
what i could tell you is that installing anything ālatestā is bound to have trouble when it auto-updates and breaks something.
itās an ecosystem so all parts need to work with eachother.
for example on my machine iām using
ue 5.2
openjdk 11 *1
android api 29 and or 25 (cant remember)
sdk build tools 34 33.0.3 32 30.0.3 29.0.3 25.0.3 (i think i only need one. but i havent dared to experiement which one)
ndk 25.1.xxxx and 21.4.xxxx (you only need one. this i think is the most problematic, i think 25.1 is the biggest you can get with 5.2)
command line tools 8.0
cmake 3.10.xxxx
android studio 4.0.2
very important to note this is for 5.2, it probably works just fine on 5.3 but iām confident some versions could be upgraded. including android studio. iāll start by installing the recommended android studio, which i assume you already have.
*1 you donāt need openjdk 11, i had to because wave vr needs something >= openjdk11 and unreal canāt go much higher than (i think 17)
you could use the android studio jdk for most cases iirc
Yep its actually true after testing about 12 hours (not kidding its 12 hours)
i found that:
Java: 11+
NDK: 25.1.8937393
SDK Version:
this is the sdk that you`ll use to work on an android system, something like version
so if ur device like mine
Hawaii Y9 ā its uses Android 8 - 9
so i just tryed on high level like 33 and its gave me an error (on my phone)
āPreparing faildā or something like that so i tried
8 ā 27 or 28 not sure
and it works!!
Thanks guys!
yeah! iām happy you got it. this is the most difficult part unfortunately. but luckly you got it.
unfortunately android stuff is an ecosystem of versions and itās quite tricky to get it right.
ue, as any other software, has a limit as to the highest version they can go with. thatās why i said that anything ālatestā will eventually break. nothing is fully future proof (imnsho).
so some versions might not even work with ue. i canāt remember whatās the highest but i think 33 might be too high. but as you say it also depends on the device.
the max i got out of 5.2 and htc wave vr is sdk 29 or 26.