CGI-Player Launcher
System Requirements
This document mandates adherence to the Android Application Development Environment
Setup Guide, as a prerequisite for system compliance.
By following these steps, you should have a consistent and well-configured development environment for your Android application on Windows 10.10/11. Remember to restart your system after making changes related to CMake in Android Studio and after updating Environment Variables.

Project Structure
NativeViewLibraryCGI-Player Launcher is using the Android Gradle Plugin Version 3.5.3 with Gradle Version 5.4.1. The
Application is tested with ndk-26 that can be installed from the document in chapter Configuration and System Requirements. The supported API range is 23-28. The supported ABIs are arm64-v8a, x86_64, x86. The NativeViewLibraryCGI-Player Launcher Android Application is using the NativeView library included in the Android Application. This NativeView Library will beis moved out of the project directory in the next release and will be included from outside of the project as library.
Building and Running the Android Application
To be able to build and run the Android Application, the following steps must be done.
- Subst [windows-commands/subst] the root of CGI Studio.
- Open a Command Prompt in the root of CGI Studio directory e.g., “...\cgistudio” and type: “subst
x: .” and click enter. The CGI root is now available under the subst "x" drive in Windows Explorer.
- Open a Command Prompt in the root of CGI Studio directory e.g., “...\cgistudio” and type: “subst
- Open the Android Application in Android Studio from “X:\cgi_studio_apps\References\Android\AndroidCgiPlayerLauncher”.
- Open the “local.properties.sample” file and change the “USERNAME” in the SDK and NDK path to match the
system it will be used on. Also the path to the asset and ABI can be set here. This ABI should match the target CPU architecture.
- Copy the contents of the
file"local.properties.sample" to “local.properties”. Note that if the SDK or NDK paths do not exist, Android
Studio will reset the “local.properties” again after trying to Sync Project with Gradle Files. - Make sure the JDK is set to 11 in [File | Settings | Build, Execution, Deployment | Build Tools | Gradle]
like described in chapter Java Development Kit (JDK).
Run the Application by selecting the target/emulator and clicking on “run sample”. The first time the Application starts, it will request permissions. Click accept. After choosing the desired asset in the list, the solution should be running.
Troubleshooting
- If encountering any issues during the setup, refer to the official documentation for Android Studio,
CMake, and NDK for troubleshooting steps. - If you encounter any issues linked to outdated source code, reach out to the Android developers for
assistance in implementing a resolution. - Check for updates regularly and keep your development environment components up to date.
Platform Tests
- Google Pixel C, ARM Cortex A57, Android 8.1.0, API 27
