linux 卸载安卓模拟器,Ubuntu下删除模拟器失败提示“the android“XXX”virtule的解决办法...

在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

751b9b91e691aace49bf6b56f93ec495.png

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

2a7264033abfcf24c00a2810ef0dceb7.png

第二步:删除文件

rm .android/avd/aaaa.ini

rm -r .android/avd/aaaa.avd

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

第三步:

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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值