# 2. Getting Started

Learn how to import SDK Package and do basic testing for your environment.

# Step 1:

Create a new project, and take a blank template as an example:

Fig 2.1 Create a new project
  • Performance characteristics: Scalable 3D or 2D
  • Closest equivalent target platform: Mobile/Tablet
Fig 2.2 Configuration and Select a directory

# Step 2:

  1. Open Project Setting->Engine->Input->Mobile, and clear the "Default Touch Interface".
Fig 2.3 Clear the "Default Touch Interface"
  1. Open Platforms->Android->APKPackaging, and check FullScreen Immersive on KitKat and above devices.
Fig 2.4 FullScreen Display
  1. Setting the Android SDK and NDK versions: Open Platforms->Android. Set Minimum SDK to Version to 26, and Target SDK Version to 29.
Fig 2.5 Set SDK Version
  1. Open Platforms->Android SDK, Set SDK API Level to "matchndk". Set NDK API Level to "android-19". You can refer to the UE4 official documentation: https://docs.unrealengine.com/en-US/Platforms/Mobile/Android/Setup/AndroidStudio/index.html (opens new window)

  2. Open Platforms->Android->Build, and check "support arm64".

Fig 2.6 Support arm64
  1. Open Edit->Plugins->Virtual Reality, Uncheck all VR Plugin options(OculusVR and SteamVR are checked in default, please unabled them).

    Fig 2.7 Unable plugin options

# Step 3:

Close the Unreal editor and open the project folder. If the project already has a Plugins folder, copy the files in the Plugins folder from the unzip package into the Plugins. If there is no Plugins folder in the project, copy the Plugins directly to the root directory of the project.

Fig 2.8 Import SDK

Start the Unreal Editor, check the QIYU VR and Online Subsystem QIYU. The Online Subsystem QIYU MUST be checked, if the application wants to live in QIYU Store. Otherwise, the application will be refused when uploading to QIYU platform.

Fig2.9 Enable QIYU Plugin

# Step 4:

This Step is only a project setting solution for developers to quickly demonstrate the SDK.

  1. Create a Pawn and a Camera.(Please don't use the default Pawn provided by Unreal)
Fig 2.10 Create gameobjects
  1. Customize GameMode, Set Default Pawn to the Pawn just created.
Fig 2.11 Set DefaultPawn
  1. Save the map, and open Project Setting->Maps & Modes, Set Game Default Map and Default GameMode.
Fig 2.12 Set Default Map and GameMode

# Step 5:

  1. Choose ASTC texture compression format when package project. (Please go to "Project Settings" and check "Package Game Data Inside. apk" to package the data into the APK)
Fig 2.13 Set to ETC2
  1. Connect to the device via USB, and click the "install_project name-arm64" file to install the application.
Fig 2.14 Install apk