Build Guide
Build the HyperIsland APK from source. The app UI has migrated from Flutter to native Kotlin using Jetpack Compose and Miuix. The UI and Xposed hooks now live in the same Android Gradle project, so Flutter SDK and Dart are no longer required.
Requirements
- JDK 21
- Android SDK API 37 (installed through Android Studio or command-line tools)
Build Steps
- Clone the repository:
bash
git clone https://github.com/1812z/HyperIsland.git
cd HyperIsland- Build the release APK:
bash
./android/gradlew -p android :app:assembleReleaseThe APK is written to build/app/outputs/apk/release/app-release.apk.
The Gradle Wrapper is located under android/, but run the command from the repository root. The -p android option selects the Android project directory. The first build downloads Gradle, Compose, Miuix, and other dependencies.
Build Variants
Debug build:
bash
./android/gradlew -p android :app:assembleDebugFast release test build without R8 minification or resource shrinking:
bash
./android/gradlew -p android :app:assembleReleaseFastAll variants package only arm64-v8a. Maintain appVersionName and appVersionCode in android/gradle.properties.
FAQ
Build fails?
- Ensure
JAVA_HOMEpoints to JDK 21 - Ensure Android SDK API 37 is installed and its licenses are accepted