zoukankan      html  css  js  c++  java
  • 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界面,打开虚拟服务

  • 相关阅读:
    [BJOI2006]狼抓兔子
    hdu 1878 欧拉回路,图的连通性判断
    poj 3844 Divisible Subsequences 剩余类,组合计数
    LA 4609 ,poj 3842 An Industrial Spy
    hdu 4639 2013多校第四场 hehe Fibonacci 数列,组合计数,字符串处理
    hdu 4642 Fliping game 翻硬币游戏 抓住特征变量
    13多校#4 ,组队赛#18 总结
    ACM 大牛的博客
    LA 4329 Ping Pong 2008 北京区域赛 H , BIT 二叉索引树(树状数组)的应用
    poj 2689 Prime Distance 二次筛法,找出给定区间所有约数
  • 原文地址:https://www.cnblogs.com/icyhusky/p/6632770.html
Copyright © 2011-2022 走看看