最近在研究React Native,搭建Android 环境的时候,遇到了一下一个大坑:运行模拟器时候出现一下截图报错: 我使用终端命令:$android 查看,明明安装了intel x86 Emulator Accelerator(HAXM installer)这个安卓模拟加速器,如下图 解决方法 ...
分类:
系统相关 时间:
2016-04-09 12:17:28
阅读次数:
336
非常多人在用Android Studio的时候会出现“'tools.jar' seems to be not in Android Studio classpath.Please ensure JAVA_HOME points to JDK rather than JRE.”出现这个错误的时候大部分 ...
分类:
移动开发 时间:
2016-04-08 21:30:26
阅读次数:
167
正在使用aliyun主机,运行centos6.4 64位系统,安装lamp环境后进行域名绑定。配置文件如下: 通过查看官方文档已经找到答案:# Ensure that Apache listens on port 80Listen 80 必须开启NameVirtualHost *:80,否则无论绑定
分类:
其他好文 时间:
2016-03-22 06:29:36
阅读次数:
199
As a programmer, I write lots of code every day. I is obviously that I cannot ensure that all of the code is right. We all make some mistake in our da
分类:
其他好文 时间:
2016-03-07 22:20:29
阅读次数:
224
Malformed lock file found: /var/cache/dnf/metadata_lock.pid.Ensure no other dnf process is running and remove the lock file manually or run systemd-tm
分类:
Web程序 时间:
2016-03-02 19:48:30
阅读次数:
321
Ensure that numlockx is installed: sudo apt-get install numlockx Edit the file /etc/lightdm/lightdm.conf gksudo gedit /etc/lightdm/lightdm.conf Add th
分类:
系统相关 时间:
2016-02-22 17:33:51
阅读次数:
220
最近在学设计模式,学到创建型模式的时候,碰到单例模式(或叫单件模式),现在整理一下笔记。 在《Design Patterns:Elements of Resuable Object-Oriented Software》中的定义是:Ensure a class only has one instanc
分类:
其他好文 时间:
2016-02-18 12:00:19
阅读次数:
150
Eclipse 编译工程时出现如下的错误提示: The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse.Please ensure the adb is corre
分类:
数据库 时间:
2016-02-16 18:24:20
阅读次数:
176
需要对外提供一个接口,输出的内容里有中文。结果打开一看,返回的是这么一串东西。"owner":"\u8d75\u7acb\u5792"其实,这是用ASCII输出的转义字符,解决起来很简单。json.dumps方法有一个ensure_ascii方法,设为False即可,默认为True。加上encoding="utf-8",用utf8来encode..
分类:
编程语言 时间:
2016-01-15 20:37:02
阅读次数:
273
常用的资源类型: notify,cron,exec,service,file,package,group,user(1)notify:利用puppet定义一个信息。 message:通知的信息内容notify{‘warning‘:
message=>"Fromwarningnotifyresource.",
}(2)cron ensure:目标状态 command:命令 hour minute mon..
分类:
其他好文 时间:
2016-01-14 06:21:40
阅读次数:
200