服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|

服务器之家 - 服务器系统 - Ubuntu - Ubuntu下删除模拟器失败提示“the android“XXX”virtule的解决办法

Ubuntu下删除模拟器失败提示“the android“XXX”virtule的解决办法

2020-07-01 21:29系统之家 Ubuntu

在 Ubuntu 系统中,很多用户由于测试需要会多建几个 模拟器 ,为了不占用系统内存资源,在完成测试后就把这些不用的模拟器删掉,但是在删除过程中出现无法删除的问题,系统提示the android XXX virtule device is currently...,并显示正

Ubuntu系统中,很多用户由于测试需要会多建几个模拟器,为了不占用系统内存资源,在完成测试后就把这些不用的模拟器删掉,但是在删除过程中出现无法删除的问题,系统提示“the android“XXX” virtule device is currently...”,并显示正在使用不能删除,遇到这个问题该怎么办呢?

主要的原因可能是由于存放的位置问题。

Find the .android folder in your $HOME directory.

In .android there should be a avd folder

In the avd folder should be one or multiple .ini file and a corresponding *.avd virtual device folder.

Delete both the .ini file and the .avd folder you want to get rid of.

Return to the Android sdk and AVD manager.

它的办法就是找到“.android”文件夹下面的两个文件:xxx.avd和xxx.ini,找到了直接删除就可以了!

第一步:找文件

关键是怎么找到,我找了半天没有找到,所以直接用命令找了:find .android

Ubuntu下删除模拟器失败提示“the android“XXX”virtule的解决办法

这里可以看到要删除的模拟器了:

Ubuntu下删除模拟器失败提示“the android“XXX”virtule的解决办法

第二步:删除文件

rm .android/avd/aaaa.ini

rm -r .android/avd/aaaa.avd

注意第二个命令加了 -r 好像aaaa.avd是个目录

第三步:

android virtrual Device Manager中刷新是否成功!

以上就是Ubuntu下删除模拟器失败提示“the android“XXX” virtule的解决办法,这个问题大多是因为存放位置导致的,用户只需找到相应的文件删除即可。

延伸 · 阅读

精彩推荐