Run Visual Studio Code on your Android device — no PC required.
VS Mobile bundles a full Linux environment (via proot) and serves VS Code through a built-in WebView, giving you a real code editor on your phone or tablet.
- Full VS Code via code-server running inside a proot Ubuntu environment
- Built-in terminal with multiple sessions
- WebView interface — no external browser needed
- Persistent background service — keeps running when you switch apps
- Offline page with one-tap VS Code start button
- Virtual mouse support for precise cursor control
- Android 8.0+ (API 26)
- arm64-v8a device (64-bit)
- ~500MB free storage
./gradlew assembleDebug
adb install app/build/outputs/apk/Fdroid/debug/app-Fdroid-debug.apkCreate app/signing.properties:
keyAlias=your-key-alias
keyPassword=your-key-password
storeFile=/path/to/your.keystore
storePassword=your-store-passwordThen:
./gradlew assembleFdroidReleaseNote:
cs-aarch64.tgz(the Linux rootfs) is downloaded automatically from vscode-android-server releases during build. No manual download needed.
- On first launch, the app extracts a pre-built Ubuntu arm64 rootfs
code-serverruns inside the proot environment onlocalhost:6862- The built-in WebView connects to it automatically
- Terminal sessions run alongside VS Code in the same environment
VSMobile/
├── app/ # Main application module
├── core/
│ ├── main/ # Core app logic, WebView, assets
│ ├── terminal-emulator/ # Terminal emulator (native)
│ ├── terminal-view/ # Terminal UI
│ ├── components/ # Shared UI components
│ └── resources/ # Shared resources
└── webview-virtualmouse-plugin/ # Virtual mouse plugin
- vscode-android-server — pre-built code-server rootfs
Abir Hasan AHK — github.com/ahksoft