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 s...
分类:
移动开发 时间:
2015-07-12 19:02:04
阅读次数:
187
原文错误提示:
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 install...
分类:
其他好文 时间:
2015-07-12 17:35:01
阅读次数:
401
OS X:EI Capitan 系统有些应用打开时候会出现标题这种问题原因:在默认状态下 OS X 不预装 Java , 所以必须手动安装解决办法:1.1.1 在终端输入java -version 来查看版本 如果显示版本就说明安装好了. 如果显示如下, 就说明没安装对,需要重新来过. No Jav...
分类:
移动开发 时间:
2015-07-11 13:23:50
阅读次数:
269
Two Heads Are Often Better Than OneAdrian WiblePROGRAMMING REQUIRES DEEP THOUGHT, and deep thought requires soli- tude. So goes the programmer stereotype.
This “lone wolf ” approach to programming has...
分类:
其他好文 时间:
2015-07-11 09:07:36
阅读次数:
123
在Activity中使用startActivity()方法不会有任何限制,因为Activity重载了Context的startActivity()方法。但是如果是在其他地方(如Widget或Service、BroadcastReceiver中)使用startActivity()方法,就会报错:and...
分类:
其他好文 时间:
2015-07-11 09:02:09
阅读次数:
158
numactl --hardware
结果如下
available: 2 nodes (0-1)
node 0 cpus: 4 5 6 7 12 13 14 15
node 0 size: 28663 MB
node 0 free: 25761 MB
node 1 cpus: 0 1 2 3 8 9 10 11
node 1 size: 20480 MB
node 1 free:...
分类:
其他好文 时间:
2015-07-10 16:42:28
阅读次数:
92
Gralloc模块是从Android Eclair(android 2.1)开始加入的一个HAL模块,Gralloc的含义为是Graphics Alloc(图形分配)。他对上为libui提供服务,为其分配显存,刷新显示等。对下对framebuffer进行管理。
gralloc代码通常位于hardware/libhardware/modules/gralloc目录下。包含以下几个文件:
...
分类:
移动开发 时间:
2015-07-10 11:20:31
阅读次数:
286
错误原因:
Activity打开别的Activity的时候会默认把新的Activity放到自己的task中,所以不用指定,但是别的地方就得指定了。
解决办法:intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
***********************************************以下属于了解学习******...
分类:
其他好文 时间:
2015-07-08 19:07:31
阅读次数:
145
1. 新建Python环境变量配置文件:
vim ~/.pystartup
# Add auto-completion and a stored history file of commands to your Python
# interactive interpreter. Requires Python 2.0+, readline. Autocomplete is
# ...
分类:
编程语言 时间:
2015-07-07 23:03:47
阅读次数:
482
为了更好的工作和学习,最近新入手一台MacBook pro。在装Android studio时遇到如下问题:解决办法如下:点击:https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx然后点击蓝色字体...
分类:
移动开发 时间:
2015-07-07 09:32:45
阅读次数:
251