Android Studio 虚拟机设置/启动失败之consider using a system image...

来源:互联网 发布:cf手游抢红包软件 编辑:程序博客网 时间:2024/05/16 12:48
  
       昨天使用Android Studio虚拟机发现所有虚拟机的状态都变为不可用,右下角提示
      consider using a system image with Google APIs to enable testing with Google Play Services
       谷歌翻译结果是
      考虑使用与谷歌API的系统映像,以使测试与谷歌播放服务
       看字面意思以为SDK中缺少Google Service 或者Google APIs,但是经过测试还是会出现以上提示。忽略提示直接打开虚拟机,提示异常
      this AVD's configuration is missing a kernel file!! ...
       于是在网上搜相关资料,最终发现异常原因是 

           SDK中  ...\sources\system-images 路径变更为 ...\system-images 如图:

         system-images 的创建日期为3月2日,确定为系统新创建文件。原来system-images路径为


             因此解决方案很简单:将原来system-images目录中的文件复制到新的路径下,就可以再次正常启动虚拟机!

      ps: 此处仅处理一种异常,如果未解决你遇到的问题,请自行百度,谢谢阅读。
   
1 3
原创粉丝点击