Android Studio : emulator is already running

前端 未结 27 2229
再見小時候
再見小時候 2021-02-01 12:28

I am trying to run emulator on my android studio 8.14. When I click run it says it is already running. Any help would be appreciated.

相关标签:
27条回答
  • 2021-02-01 12:52

    You don't have to completely delete the emulator when this happens. The files to delete should have a ".lock" extension:

    Screenshot of files for an AVD. The first three files appear as file folders in Windows 7 and have '.lock' at the end of their file names.

    You don't need to touch the configuration files.

    You can easily find the files location by clicking on the arrow under the Actions tab (in the ADB manager), and selecting "Show on Disk".

    0 讨论(0)
  • 2021-02-01 12:56

    For MAC Users

    Open Terminal, cd to the given path. List all the files using the command ls. You will see two files with .lock extensions or maybe more. Just delete those files.

    0 讨论(0)
  • 2021-02-01 12:56

    I'm don't know if some one is still having this problem, but, in my case, it's was an issue related to VAGRANT.... more precisely whit Virtual Box. I just stop the vBox proccess (i'm ussing ubuntu), remove the .lock files related to the emulator inself and that's it... the emulator should by ready to go.

    0 讨论(0)
  • 2021-02-01 12:57

    If you have followed all answers, and no success yet. And not able to find that specific lock.

    Search all .lock extension files in /avd dir, and remove them. After then start again emultaor. It works for me without restart system.

    0 讨论(0)
  • 2021-02-01 12:58

    C:\Users\admin.android\avd\Nexus_5X_API_26.avd follow path and delete hardware-qemu.ini.lock this folder. make sure your problem can be solve :)

    0 讨论(0)
  • 2021-02-01 13:01

    I closed the emulator, clicked the AVD Manager Icon on the menubar then under the emulators actions tab downward arrow I selected "Cold Boot Now" then ran the program normally by pressing SHIFT + F10

    0 讨论(0)
提交回复
热议问题