Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
The emulator cannot find its SDK or AVD files.
Cannot find AVD system pathPANIC: Missing emulator engine programEmulator: ERROR: unknown AVDEmulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT Meaning
ANDROID_SDK_ROOT/ANDROID_HOME or ANDROID_AVD_HOME point to the wrong place, or the system image was removed. Fix the paths or recreate the AVD.
Common causes
- SDK path variable wrong
- System image deleted
- AVD moved to another folder
⚡ Quick fix
- Set ANDROID_SDK_ROOT correctly
- Re-download the system image
- Recreate the AVD
Detailed fix by platform
Shell
- kotlin
export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk emulator -list-avds
How to diagnose
- Env — ANDROID_SDK_ROOT?
- Image — installed?
- AVD — listed?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- adb server version doesn't match adb server version (41) doesn't match this client (39); killing...
- Android license status unknown / licenses not accepted flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses
- App Privacy: data collection doesn't match your declarations ITMS-91061 / App Store Connect: privacy details don't match what the app collects
Most viewed in Android
- Could not resolve Gradle: Could not resolve all files for configuration / Could not resolve dependency
- INSTALL_FAILED_USER_RESTRICTED INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)
- INSTALL_PARSE_FAILED_NO_CERTIFICATES INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Nov 2026