• Android Studio安装时候遇到HAXM问题


    之前抽风,把AS写在卸载掉了,再进行重装时候就爆炸了,一直提示下面这个错误:

    <一>failed to install Intel HAXM. For details, pleasse check.........(这里是个log目录)

    我们打开log文件后,会看到错误信息:

    === Logging started: 2017/3/28 10:11:47 ===
    A newer version of Intel® Hardware Accelerated Execution Manager is already installed. The current installation will exit. If you really want to downgrade, you can uninstall the newer version from the control panel first and then install the older version
    === Logging stopped: 2017/3/28 10:11:47 ===

    简单翻译一下就是:我们已经有一个更高级的版本Intel在电脑中,请卸载高级的,并重新安装旧版的。(简单来说,HAXM是负责对Android模拟器进行渲染的)

    解决方法:

    打开控制面板,找到Intel® Hardware Accelerated Execution Manager,卸载掉

    然后重新执行AS的安装包,在安装的第一项选择HAXM(或者SDK Manager中进行安装)

    另外:我当初没有管这个错误提示,直接打开了AS,创建了个HelloWorld,然后就是一直各种报错,总体来说就是:

    invalid revision 24.0.0-alpha 1 invalid revision 24.0.0-alpha1

    还有就是

    Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

    Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

    Error:Execution failed for task ':app:processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:Program Files (x86)Androidandroid-sdkuild-tools23.0.2aapt.exe'' finished with non-zero exit value 1

    我们跳转到resource文件后,是.....color相关的东西,具体我也不懂,总体来说就是:

    这也是由于HAXM渲染问题所造成的!

    <二>当然也可能遇到HXAM服务没有开启的状况,需要重启,F2进入BIOS界面,打开虚拟服务

  • 相关阅读:
    pom.xml
    mongo 根据时间范围查找
    nodejs. cron风,定时任务时间写法
    Linux操作命令(一)
    WPF的ScrollViewer鼠标的滚动
    WPF中Expander控件样式,ListBox的样式(带checkbox)恢复
    CentOS7 安装RabbitMQ
    maven项目中配置jdk1.8插件
    赋予其他用户远程连接自己数据库的权限
    递归获取XML文件中的所有节点
  • 原文地址:https://www.cnblogs.com/icyhusky/p/6632770.html
Copyright © 2020-2023  润新知