ANDROID - Project setup and build (UE5) API 32 / NDK 22 (unsuccessfully)

Опубликовано: 10 Октябрь 2024
на канале: GrAl Unreal Engine
6,376
195

I will show what and at least you need to configure to build the project in UE5 to use it on an android phone or tablet. I took an assembly from API sdk 32, ndk 22 versions to support new phone models with Android version 12-12.1.

Android version history B5%D1%80%D1%81%D0%B8%D0%B9_Android#12.1
Google Play Target API Level Requirements https://developer.android.com/google/...
Android Studio download link https://developer.android.com/studio
Link to download older versions of Android Studio https://developer.android.com/studio/...

keytool -genkey -v -keystore C:\SDK\IslandG.keystore -alias IslandG -keyalg RSA -keysize 2048 -validity 10000
or like this keytool -genkey -v -keystore C:\SDK\IslandG.keystore -alias IslandG -storepass PASSWORD HERE -validity 10000
Decryption:
-keystore C:\SDK\IslandG.keystore - store these keys in the "IslandG.keystore" store at the given location
-alias IslandG - Assigns an alias to IslandG (up to 8 characters).
Of course, change the name of the repository, as well as the alias, to your own ... (In other words, replace IslandG in this line with any word, although this will work anyway)
-keyalg RSA - use the RSA encryption algorithm.
-keysize 2048 - sets the encryption key size to 2048 bits.
-validity 10000 - sets the key validity period to 10 thousand days - 27 years.
Well, he asks for a password at the beginning and at the end

ANDROID_HOME
ANDROID_SDK_ROOT
C:\NVPACK\android-sdk-windows

JAVA_HOME
C:\Program Files\Android\Android Studio\jre

NDK_ROOT
NDKROOT
C:\NVPACK\android-sdk-windows\ndk

PATH
C:\NVPACK\android-sdk-windows\ndk
C:\NVPACK\android-sdk-windows\platform-tools
C:\NVPACK\android-sdk-windows\tools
----------------------------
JRE_HOME
C:\Program Files\Android\Android Studio\jre