Android笔记---错误笔记

1. Starting emulator for AVD 'new'
    emulator: ERROR: x86 emulation currently requires hardware acceleration!
    Please ensure Intel HAXM is properly installed and usable.
    CPU acceleration status: HAX kernel module is not installed!

发生情景:创建 Android 模拟器,模拟器 CPU 处理器选择了 Intel 处理器。启动报错
问题原因:电脑上没有安装Intel HAXM
解决方案:找到Android sdk所在的目录。其下有extras\intel\Hardware_Accelerated_Execution_Manager
把该目录下的intelhaxm.exe安装一下

2.unable to write jarlist cache file F:\workspace\Android\appcompat_v7\bin\jarlist.cache

发生情景:创建项目,最低兼容选择 2.2,最高选择 4.4
问题原因:向下兼容
解决方案:
方法1:将最低兼容选择同级的,即也是选择 4.x 系列的即可
  [不推荐,因为 Android 应用都是要考虑向下兼容的]
方法2:E:\SL\appcompat_v7\res\values-v21\themes_base.xml:191: 
  说明,要求你的 sdk 为 android5.0 的 sdk,因此,需要把 Property 中 Android 的对应版本改成 5.0 才行
  即:将 project.properties 中 target 改为 android-21

3.Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值