Setup & Build Guide - ClyoCloudAndroid
This guide assists you in configuring your development environment to compile and debug the ClyoCloudAndroid client app.
Prerequisites
Before building, verify the following are configured on your developer workstation:
- Android Studio: Version Koala (2024.1.1) or newer.
- Java Development Kit (JDK): JDK 17 or higher (configured inside Android Studio Gradle settings).
- Android SDK: API Level 34 (Android 14) installed via SDK Manager.
Getting Started
1. Project Import
- Launch Android Studio.
- Choose Open and select the
/home/weexnes/ClyoWallpaper/ClyoCloudAndroiddirectory. - Wait for Android Studio to index the files and download the required Gradle dependencies.
2. Run Debug Build
To run the project on a physical device or emulator:
- Connect your Android device with USB Debugging enabled, or start an emulator.
- Select
appfrom the run configuration selector in the top toolbar. - Click the green Run icon (or press
Shift + F10).
3. Gradle Command Reference
Run these from the project root directory:
- Build Debug APK:
./gradlew assembleDebug - Run Linter & Tests:
./gradlew test - Clean Build Cache:
./gradlew clean
Connection Configuration
When starting the application for the first time, you will be prompted for:
- Server URL: The address of your running self-hosted ClyoCloud server (e.g.
https://mycloud.mydomain.comorhttp://10.0.2.2:3000inside standard emulator setups). - Credentials: Username and Password.
- 2FA Code (Optional): If 2FA is active, input the TOTP code to complete login.