Android Studio模拟器无法启动、AVD镜像不被识别的问题咨询
Fix for Android Studio AVD Not Showing Up & Repeat Setup Flow
Hey there, let's work through this annoying AVD issue you're dealing with—nothing's more frustrating than creating virtual devices only to have Android Studio act like they don't exist, right? Here are practical steps to resolve both the missing AVDs and the repeated setup flow:
1. Validate Your AVDs & System Images
- Open the AVD Manager (the little phone icon in the top toolbar) and check the status of your created devices. If you see a yellow exclamation mark next to any device, that means the corresponding system image isn't fully installed. Click Show Details to see what's missing, then head to the SDK Manager to reinstall the required SDK Platform and System Image.
- If the AVDs look "healthy" but still don't show up, try deleting the problematic devices and creating fresh ones. Stick to stable Android versions (like Android 13 or 14) instead of cutting-edge preview builds—they're less likely to have bugs.
2. Double-Check SDK Path Configuration
- Go to File > Settings > Appearance & Behavior > System Settings > Android SDK (on macOS, it's Android Studio > Settings). Confirm your SDK Location is correct, and that the system images you used for your AVDs are checked under both SDK Platforms and SDK Tools.
- Also, verify your environment variables (
ANDROID_HOMEandANDROID_SDK_ROOT) point to the same SDK directory. Mismatched paths can confuse Android Studio into not recognizing your AVDs.
3. Clear Android Studio's Cache
- Corrupted cache is a common culprit for weird behavior. Go to File > Invalidate Caches..., check the box for Invalidate and Restart, and let Android Studio reboot. This will wipe out stale data and often fixes device recognition issues.
4. Adjust Emulator Launch Settings
- When you hit the Run button, look for the Show all devices option in the deployment target window—sometimes your AVDs are hiding there. If they still don't appear, manually launch the emulator from the AVD Manager first. Once it's fully booted, go back to Run and select the already running emulator.
- If you're stuck in a repeated setup flow when launching the emulator, create a new AVD and make sure to check Use hardware-accelerated graphics (if your PC supports it) during the configuration step. Avoid tweaking too many advanced settings—stick to defaults unless you know exactly what you're changing.
Related Screenshots



内容的提问来源于stack exchange,提问作者Cavein Muthama
相关产品推荐
相关产品推荐

