A lightweight VS Code extension that brings essential Android Studio features to your fingertips
Build, run, and debug Android apps without the heavy resource consumption of Android Studio. Features event-driven device monitoring for zero-impact on your system's RAM and CPU.
- One-click Build & Run - Build and deploy your app with a single click
- Debug APK - Quick debug builds for development
- Release APK with Signing Wizard - Smart wizard guides you through signing your release builds
- ๐ Keystore Creator - Generate signing keys without Android Studio
- Clean Project - Remove build artifacts
- Sync Gradle - Synchronize project dependencies
- ๐ง Smart APK Discovery - Automatically finds APK files even with complex build flavors (e.g.,
afatDebug,googleRelease)
- Module Selection - Target specific modules in large projects (like Telegram, Signal, etc.)
- Sidebar Module Picker - Visual module selection in the Android Control Panel
- Status Bar Indicator - Quick view and change of active module
- Persistent Selection - Remembers your module choice between sessions
- Auto-Detection - Parses
settings.gradleto discover all project modules
- โก Instant Device Detection - Devices appear immediately when plugged in, with zero lag.
- ๐ Zero-Resource Monitoring - Uses event-driven ADB tracking instead of heavy polling loops, saving your CPU and RAM.
- Device Selection - Easy switching between multiple devices and emulators.
- Real-time Status - Live connection status (Online, Offline, Unauthorized).
- Wireless Debugging (Android 11+) - Connect without cables using pairing code
- ADB over TCP/IP (Android 4.0+) - Legacy wireless support
- ๐ถ Hotspot Mode Support - Works when your Android device IS the hotspot (PC connects to phone's hotspot)
- Auto-reconnect - Automatically reconnects to saved devices on startup
- Network Scanning - Discover devices on your local network
- Real-time Logs - Live streaming with color-coded output
- App Filter - Show only your app's logs (like Android Studio)
- Tag Filter - Filter by specific log tags
- Critical Highlighting - Automatic highlighting of errors and exceptions
- Android Control Panel - Dedicated sidebar with all tools
- Status Bar Integration - Quick access from the status bar
- Diagnostics Tool - Troubleshoot connection issues
- Auto
local.properties- Automatically creates/updates SDK path configuration
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X) - Search for "Android Studio Flash"
- Click Install
code --install-extension android-studio-flash-0.1.0.vsix- Android SDK - Install via Android Studio or Command-line tools
- Java JDK - Required for Gradle builds
- Open an Android project in VS Code
- The extension activates automatically when it detects
build.gradle - Click the Android icon in the Activity Bar
- Connect a device or emulator
- Click
โถ๏ธ Build & Run
All commands are available via Command Palette (Ctrl+Shift+P):
| Command | Description |
|---|---|
Android: Build APK |
Build debug APK |
Android: Build Release APK |
Build release APK |
Android: Run on Device |
Build and run on selected device |
Android: Clean Project |
Clean build artifacts |
Android: Sync Gradle |
Sync project with Gradle |
Android: Show Logcat |
Open Logcat output |
Android: Setup Wireless Connection |
Configure wireless debugging |
Android: Run Diagnostics |
Troubleshoot issues |
Configure the extension in VS Code Settings:
{
"android.sdkPath": "", // Auto-detected if empty
"android.adbPath": "", // Auto-detected from SDK
"android.logcat.maxLines": 1000, // Max lines in Logcat
"android.build.showNotifications": true
}- Enable Developer Options on your device
- Go to Settings โ Developer options โ Wireless debugging
- Enable Wireless debugging
- In VS Code, click โ Add Wireless Device
- Select Wireless Debugging
- Enter the IP:Port and pairing code from your device
- Connect device via USB
- Click โ Add Wireless Device
- Select ADB over TCP/IP
- Follow the prompts
- Disconnect USB - you're now wireless!
Run Android: Run Diagnostics from the Command Palette to check:
- SDK installation
- ADB connectivity
- USB debugging status
| Issue | Solution |
|---|---|
| "SDK not found" | Set android.sdkPath in settings or set ANDROID_HOME environment variable |
| "ADB not found" | Install Android SDK Platform-Tools |
| "Unauthorized" | Accept USB debugging prompt on device |
| "Wireless fails" | Ensure device and PC are on same network |
- Quick Run: Click the status bar button to build & run instantly
- Filter Logcat: Use app filter to see only your app's logs
- Save Wireless Devices: Connected wireless devices are saved for auto-reconnect
- Plug & Play: No need to manually refresh devices! The extension listens to USB events and updates the device list instantly when a cable is connected or disconnected.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Dr. Mohammed Hamed
If you find this extension helpful, please consider giving it a โญ on GitHub!
