Build Android APK and AAB files from a simple YAML configurationβwithout Android Studio.
androThat's it! This will read andro.yml and generate:
app-debug.apk- Debug APKapp-release.apk- Release APKapp-release.aab- Android App Bundle (for Google Play)
Create an andro.yml file in the project root:
- title: "Hello World"
- version: "1"
- package: "com.example.helloworld"
- icon: "round.png"
- web: "html"
- ads: "202843390"| Field | Description | Example |
|---|---|---|
title |
App name displayed to users | "My App" |
version |
Version number (used for versionCode and versionName) | "1" |
package |
Android package name (must be unique) | "com.example.app" |
icon |
Path to app icon image | "icon.png" |
web |
Path to web assets folder (HTML/CSS/JS) | "www" |
ads |
Start.io App ID for monetization. Leave empty ("") to disable ads |
"123456789" or "" |
Set ads: "" to completely disable ads. The build system will:
- Exclude Start.io SDK from the build
- Remove ad-related code from the app
- Produce a smaller, cleaner APK
- Full JavaScript support (ES6+)
- localStorage & sessionStorage
- Geolocation API
- Camera access
- File upload/download
- Hardware acceleration
Access native Android features from your web code:
// Get device info
const device = Android.getDeviceInfo();
console.log(device); // {"brand":"Samsung","model":"Galaxy S21",...}
// Get battery status
const battery = Android.getBatteryInfo();
console.log(battery); // {"level":85,"charging":true}
// Show toast notification
Android.showToast("Hello from JavaScript!");
// Vibrate device
Android.vibrate(1000); // Vibrate for 1 second- Camera
- Location (GPS)
- Storage (Read/Write)
- Microphone
- Bluetooth
- Battery stats
- Automatic SDK initialization
- Interstitial ads on back press
- Configurable via
adsfield inandro.yml - See
ai/ads.txtfor full documentation