Andriod:The selected AVD is currently running in the Emulator. Please exit the emulator instance....

笔记:1.在运行手机模拟器时出现无法运行的情况:提示此手机模拟器已经运行,去关闭在重新打开时也不行。

AVD Pixel_3a_XL_API_28 is already running.
If that is not the case, delete the files at
   H:\Users\ASUS\.android\avd/Pixel_3a_XL_API_28.avd/*.lock
and try again.

        Andriod:The selected AVD is currently running in the Emulator. Please exit the emulator instance...._第1张图片

依然会提示:                ​​​​​​​    The selected AVD is currently running in the Emulator. Please exit the emulator instance and try wiping again.


2.解决办法:

        (1) 找到avd的文件位置并打开(C:\Users\ASUS\.android\avd\Pixel_3a_XL_API_28.avd)

Andriod:The selected AVD is currently running in the Emulator. Please exit the emulator instance...._第2张图片

        (2) 将此文件夹删除

        注意:如果出现此文件夹无法删除,已在另一个程序中打开的提示,将android程序关闭在进行删除就不会出现啦。

Andriod:The selected AVD is currently running in the Emulator. Please exit the emulator instance...._第3张图片

 3. 结果:

        ​​​​​​​        ​​​​​​​        ​​​​​​​        ​​​​​​​        ​​​​​​​        ​​​​​​​              Andriod:The selected AVD is currently running in the Emulator. Please exit the emulator instance...._第4张图片

你可能感兴趣的:(笔记,android)