- Android PWA/WASM launcher with glassmorphism UI - Loads https://admin.dark.side directly on launch - Complete GitLab CI/CD pipeline configuration - Automated builds for Debug, Release, and AAB - Full WASM support with optimized WebView - Material Design 3 theme - Comprehensive documentation Features: - Auto-load target URL on app launch - Glassmorphism components (frosted glass effects) - Full PWA/WASM support - Room database for future extensions - Jetpack Compose UI - CI/CD with artifact storage Built for SilverLABS
3.3 KiB
3.3 KiB
Build Instructions for Dark Side Admin APK
⚠️ Important: This is a Custom Build
This version of SilverDROID loads https://admin.dark.side directly on launch.
Option 1: Build with Android Studio (Recommended)
Steps:
-
Open Project
C:\Production\Source\SilverLABS\SilverDROID- Launch Android Studio
- File → Open → Select
SilverDROIDfolder
-
Sync Gradle
- Wait for automatic Gradle sync (~2-5 minutes)
- If prompted, click "Sync Now"
-
Build APK
- Build → Build Bundle(s) / APK(s) → Build APK(s)
- Wait for build to complete
- Click "locate" in notification to find APK
-
APK Location
app\build\outputs\apk\debug\app-debug.apk
Option 2: Build from Command Line (Windows PowerShell)
Prerequisites:
- Android SDK installed
ANDROID_HOMEenvironment variable set
Steps:
-
Open PowerShell
cd C:\Production\Source\SilverLABS\SilverDROID -
Download Gradle Wrapper (first time only)
# Download Gradle distribution Invoke-WebRequest -Uri "https://services.gradle.org/distributions/gradle-8.9-bin.zip" -OutFile "gradle.zip" # Extract Expand-Archive -Path "gradle.zip" -DestinationPath "." -Force # Create wrapper .\gradle-8.9\bin\gradle.bat wrapper # Cleanup Remove-Item gradle.zip Remove-Item -Recurse -Force gradle-8.9 -
Build Debug APK
.\gradlew.bat assembleDebug -
Output Location
app\build\outputs\apk\debug\app-debug.apk
Option 3: Use TeamCity CI/CD
Upload the project to GitLab and configure TeamCity:
GitLab: https://gitlab.silverlabs.uk TeamCity: https://cis1.silverlabs.uk
TeamCity Build Steps:
steps {
gradle {
tasks = "clean assembleDebug"
gradleWrapperPath = ""
}
}
Installing the APK
On Physical Device:
- Copy
app-debug.apkto your device - Tap the APK file
- Allow "Install from Unknown Sources" if prompted
- Tap "Install"
Via ADB:
adb install app\build\outputs\apk\debug\app-debug.apk
What This Build Does
- ✅ Loads
https://admin.dark.sideimmediately on launch - ✅ Bypasses the launcher screen
- ✅ Full WASM/PWA support enabled
- ✅ Glassmorphism UI for top bar
- ✅ Back button exits the app
Customization
To change the URL, edit:
app/src/main/kotlin/uk/silverlabs/silverdroid/MainActivity.kt
Line 23:
private val targetUrl = "https://admin.dark.side"
Change to your desired URL and rebuild.
Troubleshooting
"SDK location not found"
Set ANDROID_HOME:
[System.Environment]::SetEnvironmentVariable("ANDROID_HOME", "C:\Users\YourUser\AppData\Local\Android\Sdk", "User")
"Gradle sync failed"
- Check internet connection
- Delete
.gradlefolder - Restart Android Studio
- Try sync again
"Build failed"
- Check JDK version:
java -version(must be 17+) - Clean project:
.\gradlew.bat clean - Rebuild:
.\gradlew.bat assembleDebug
Build Configuration
- Package Name:
uk.silverlabs.silverdroid - App Name: "Dark Side Admin"
- Min SDK: 26 (Android 8.0)
- Target SDK: 35 (Android 15)
- Version: 1.0.0
Need help? Check the main README.md or contact SilverLABS support.