This guide describes how to deploy Felgo games & apps to Android mobile devices.
You can test your code on Android and other platforms without any additional installation, using the Felgo Live Scripting app. Download the app on Android or iOS and connect it to your Felgo Live Server. You can find more info here.
Boost your Qt and Felgo development with continuous integration and delivery for Qt and Felgo projects. As the only CI/CD exclusively for Felgo/Qt, it enables you to build and distribute apps with minimum effort and maximum speed.
Visit Felgo Cloud Builds.
You can find more info here.
The Felgo installer only installs the packages for your desktop system initially. You can add other packages via the Maintenance Tool. The Maintenance Tool is located at the installation directory of your Felgo SDK. The executable is called SDKMaintenanceTool.
Run this application and select
Add or remove components and then choose the platforms you want to add.
With Felgo you can deploy your app or games to Android devices and tablets right from the Felgo IDE, Qt Creator.
Felgo 3 supports deployment to Android v4.1 (API level 16) or later with architectures armv7a & x86.
Make sure that you already have the JDK (Java Development Kit) installed. If you don't have the JDK installed yet, you can download it here: Download JDK.
On Linux, you can also use OpenJDK.
You will need the path to the JDK later to configure Qt Creator.
Download Android Studio which includes the Android SDK Tools for your operating system: Download Android Studio.
Follow the instructions of the installer to install Android Studio.
You will need the path to the Android SDK later to configure Qt Creator.
By default, Android Studio installs the SDK to your Users directory. You can find the location of the SDK using the SDK Manager of Android Studio: How to find the Android SDK path in Android Studio
Download the Android NDK (Native Development Kit) for your operating system from one of the following links:
The currently recommended version is NDK 19c.
Extract the NDK to a folder of your choice. The folder path should not contain any white spaces. Recommended paths are
C:\Development\Android-NDK (Windows) or
/Development/Android-NDK (macOS, Linux).
You will need the path to the Android NDK later to configure Qt Creator.
Open the Android SDK Manager of Android Studio, go to
Appearance & Behavior ->
System Settings ->
Android SDK and select the
SDK Tools Tab. Make sure to have the
following components installed:
After you selected the required components, click "Install Packages" and proceed with the installation. The download might take a while.
When the download has finished, start Qt Creator. Open the Qt Creator Preferences, click "Devices" and select the "Android" tab. Now, set the locations of your JDK, Android SDK and Android NDK folders. Click "OK" when you're done.
Please also make sure that your Qt Creator configuration uses the Gradle Build System.
Congratulations, you successfully set up the Android SDK on your computer! Continue with the next section to learn how to deploy your app or game to your device.
For further information please also have a look at:
After you tested your app or game on real device(s), you can continue and publish your game in the app stores. See Publishing Felgo Games & Apps how to do this.
Voted #1 for: