-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Caspian-Explorer edited this page Feb 25, 2026
·
1 revision
Cause: The extension couldn't locate your Android SDK.
Fix:
- Run
Caspian: Setup Android SDKfrom the Command Palette - Browse to your SDK folder (must contain
platform-tools/adbandemulator/emulator) - Or set
caspian.androidSdkPathin VS Code settings
Cause: No Android Virtual Devices exist on your system.
Fix:
- Create one via
Caspian: Create AVD(requires system images) - Or create in Android Studio → Device Manager
- Click the refresh button after creating
Cause: Usually a hardware acceleration or GPU issue.
Fix:
- Ensure Intel HAXM (Windows/Mac) or KVM (Linux) is installed
- Try software rendering: set
caspian.emulatorArgsto["-gpu", "swiftshader_indirect"] - Check logs: run
emulator -avd <name> -verbosein a terminal
Cause: USB debugging not authorized on the device.
Fix:
- Check the device/emulator screen for an authorization dialog
- Tap "Allow" or "Always allow from this computer"
- Refresh the device list
Cause: ADB connection dropped.
Fix:
- Restart ADB: run
adb kill-server && adb start-serverin a terminal - Reconnect the USB cable (for physical devices)
- Restart the emulator (for virtual devices)
Cause: Connection issue or filter too restrictive.
Fix:
- Ensure device state is "device" (not offline/unauthorized)
- Set priority filter to "Verbose" to see all logs
- Clear the search filter
- Click Clear to restart the logcat stream
Cause: screencap command failed on the device.
Fix:
- Ensure the device is fully booted
- Try taking a manual screenshot first (
Caspian: Take Screenshot) - Install scrcpy for better screen mirroring
Cause: Trying to access a restricted directory.
Fix:
- Some directories require root access
- Browse
/sdcard/for user-accessible files - For rooted devices: run
adb rootin a terminal first
Cause: Extension didn't load properly.
Fix:
- Check Output panel → select "Caspian Emulator" from the dropdown
- Reload VS Code:
Ctrl+Shift+P→ "Developer: Reload Window" - Check that VS Code version is 1.85 or later