AVD Nexus_5X_API_24 is already running. If that is not the case, delete the files at C:\...\.a...

今天开启模拟机,弹出来这么个毛病:

AVD Nexus_5X_API_24 is already running. If that is not the case, delete the files at
    C:\...\.android\avd/Nexus_5X_API_24.avd/*.lock and try again.
AVD Nexus_5X_API_24 is already running. If that is not the case, delete the files at C:\...\.a..._第1张图片

查了网上博文,说是因为虚拟机刚搭建好的时候默认会建立"*.lock"文件夹,而且当你把虚拟机关掉时这个文件夹会自动删除,可能是上次关PC时太草率,所以这个逗比文件夹没给删除掉,
好了,那跟着提示去找那个文件夹(报错都没给全名字对吧,可好找了),将之删除,再启动模拟机,就OK了:

AVD Nexus_5X_API_24 is already running. If that is not the case, delete the files at C:\...\.a..._第2张图片

你可能感兴趣的:(AVD Nexus_5X_API_24 is already running. If that is not the case, delete the files at C:\...\.a...)