This is a simple Android application written in C that displays "Hello, world!" using raylib.
Tip
This workflow uses Gradle. For a CMake-only workflow, which offers greater flexibility, see this.
Before you begin, ensure you have the following installed:
- Java Development Kit (JDK) — JDK 17
- CMake version 3.25.0 or higher
If you want to use your own signing key for release builds, set the following environment variables:
- STORE_FILE — Path to the keystore
- STORE_PASSWORD — Keystore password
- KEY_ALIAS — Alias of the key in the keystore
- KEY_PASSWORD (optional) — Key password (default: STORE_PASSWORD)
-
Set up the repository:
-
Clone the repository and automatically initialize and update all submodules:
git clone --recurse-submodules https://github.com/OussamaTeyib/HelloWorld.git
-
-
Build the project:
-
Using Android Studio:
- Open the project in Android Studio.
- Let Gradle sync.
- Use Run to launch on a device or emulator.
- Use Build > Build Bundle(s) / APK(s) to generate APK or AAB.
-
Using Terminal:
<Build-Type>can be eitherDebugorRelease.-
Generate APKs:
./gradlew assemble<Build-Type>
-
Install the APKs on a connected device or emulator:
./gradlew install<Build-Type>
-
Uninstall the APKs:
./gradlew uninstall<Build-Type>
-
Generate AABs:
./gradlew bundle<Build-Type>
-
Clean the project
./gradlew clean
-
-
This project is licensed under the MIT License.