Android Development Setup

Set up Android Studio and ADB to debug your miniapp in WebView.

1Install Android Studio

Install the latest stable version with the Android SDK included.

Download Android Studio →

2Configure ADB Path

# Add to ~/.zshrc or ~/.bashrc
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/platform-tools
source ~/.zshrc
adb --version  # verify

3Enable USB Debugging on Device

Settings → About Phone → tap Build Number 7 times → Developer Options → USB Debugging: ON

4Connect & Verify

adb devices
# Should list your device as "device" (not "offline")

5Port Forwarding for Local Dev Server

adb reverse tcp:3000 tcp:3000
# Now http://localhost:3000 works on device
Your miniapp at localhost:3000 is now accessible from your Android device.