AVD Pixel_2_API_15 is already running.
If that is not the case, delete the files at
C:\Users\user\.android\avd/Pixel_2_API_15.avd/*.lock
and try again.
The above error while running Android Virtual Device (AVD) may come up when the lock of the AVD was not released correctly, there are few things you can try to resolve this issue,
- Go to Tools ? AVD Manager
- Select your AVD device and under Actions click on the down arrow and click on Stop.
- Now try running the AVD again, it should work.
If the above does not work for you then you can try deleting all the lock files and folders under the location thats prompted in the error,
- Go to the location as seen in the error: example: C:\Users\user\.android\avd/Pixel_2_API_15.avd/
- Now delete all .lock files and folders.
I could see a few of them: hardware-qemu.ini.lock & multiinstance.lock. If while deleting these files you see an error like "The action can't be completed because the folder or a file it is open in another program" that means your AVD is running and you need to close it (or kill its process instance) so you can delete these files.
Comments:
- Thank you! This really helped
user135 18 Jul 2020 11:07:49 GMT
- Further comments disabled!
More Posts related to Android-Studio,
- Step-by-Step: How to install Flutter in Android Studio
- [Android Studio] How to locate code for activity_main.xml
- [Event Log] Android Studio performance could be improved
- Android Studio emulator/Device logCat logs not displayed
- Show Android Studio Emulator in a Separate Window
- Android Studio SDK Build-tools 23 rc2 not getting installed
- Android Emulator Screenshot saved location
- [Android Studio] Error: Missing system image on device
- Android Studio NoClassDefFoundError: java.awt.Toolkit
- Android [SDK Manager] The system cannot find the path specified
- [Android Studio] Could not automatically detect an ADB binary
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- [Android Studio] MainActivity does not exist
- How to enable line numbers in IntelliJ Android Studio for all files
- Android Studio - Installed build tools revision 31.0.0 is corrupted. Remove and install again using the SDK manager.
- Android Studio setup was canceled - How to resume
- Your Android SDK is missing, out of date or corrupted SDK Problem
- Locate MainActivity Java or Kotlin file in Android Studio
- How to Determine Android Studio Gradle Version
- Delete Android Studio Projects
- [Android Studio] Button on click example
- Create assets folder in Android Studio
- Disabling Spell Check in Android Studio
- How to save IntelliJ IDE Console logs to external log file
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2)
More Posts:
- Indent XML Formatting In Notepad++ - NotepadPlusPlus
- [fix] Spring Boot Data JPA - No identifier specified for entity - Java
- Fix: Minecraft EXCEPTION_ACCESS_VIOLATION Fatal Error Java Runtime - Java
- Android [SDK Manager] The system cannot find the path specified - Android-Studio
- How to refresh Safari on Mac (macOS) using keyboard shortcut - MacOS
- [fix] java: incompatible types: double cannot be converted to java.lang.Integer Generics - Java
- MySQL #6 - Error on delete of './my-database/db.opt' (Errcode: 13 - Permission denied) - MySQL
- Change the default login shell on macOS Ventura 13.0 - MacOS