keywords: UE4, Android, Packaging, Building

Common Cases

How to include engine third party in game

Add third party name (the directory name in Engine\Source\ThirdParty\) in PrivateDependencyModuleNames in Build.cs.

new string[]

Android Package

BUILD FAILED:gradle\rungradle.bat” :app:assembleDebug

Android APK send to device failed in v4.18, error log:

ExceptionUtils.PrintExceptionInfo: ERROR: cmd.exe failed with args /c "D:\Stage - kornelis\ARcore\HelloARSample 4.18\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug ExceptionUtils.PrintExceptionInfo: 

1,Double click NVPACK/android-sdk-windows/tools/android.bat;
2,Click “Deselect All”;
3,Check Extras / Android Support Repository, then click Install;

How to enable OpenGL ES3.1 and Vulkan

Project Settings -》 Platforms -》 Android -》 Build -》 Support OpenGL ES3.1, By default is using OpenGL ES2.

How to Hide Android App Soft Keys(Home key and Return key, Virtual Keys)

Project Settings -》 Android -》 Platforms -》 Enable FullScreen Immersive on KitKat and above devices

How to change application name of APK

Project Settings -> Platforms -> Android -> Application Display Name(app_name)

Linux Package

Cross-Compiling for Linux

Cross-Compiling for Linux