Ubuntu下删除模拟器失败提示the android XXX virtule如何解决?


    在Ubuntu系统中,很多用户由于测试需要会多建几个模拟器,为了不占用系统内存资源,在完成测试后就把这些不用的模拟器删掉,但是在删除过程中出现无法删除的问题,系统提示“the android“XXX” virtule device is currently...”,并显示正在使用不能删除,遇到这个问题该怎么办呢?别担心!下面小编就为大家带来Ubuntu下删除模拟器失败提示“the android“XXX”virtule的解决办法!一起去看看吧!
    主要的原因可能是由于存放的位置问题。
    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
    
    这里可以看到要删除的模拟器了:
    
    第二步:删除文件
    rm .android/avd/aaaa.ini
    rm -r .android/avd/aaaa.avd
    注意第二个命令加了 -r 好像aaaa.avd是个目录
    第三步:
    android virtrual Device Manager中刷新是否成功!
    以上内容就是今天小编为大家带来的关于Ubuntu下删除模拟器失败提示“the android“XXX” virtule的解决办法了,这个问题大多是因为存放位置导致的,用户只需找到相应的文件删除即可。希望此文档可以帮助到大家!