错误Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refusedFailed to ...
分类:
移动开发 时间:
2014-07-16 22:58:26
阅读次数:
234
这个错误是和调用相机摄像头相关的。产生这个错误的原因主要在于代码控制分辨率的显示和真机测试分辨率不一样。 一:解决办法WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE);Display display...
分类:
移动开发 时间:
2014-07-11 23:59:27
阅读次数:
418
hadoop2分布式安装后总是报这个bug2014-07-06 08:22:40,506 FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for block pool Block pool (....
分类:
其他好文 时间:
2014-07-11 19:02:38
阅读次数:
364
When I try openingEclipse, a pop-up dialog states:Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"`.Following this, Eclipse force clo...
分类:
系统相关 时间:
2014-07-11 11:45:13
阅读次数:
238
1、Shell$ExitCodeException
现象:运行hadoop job时出现如下异常:
14/07/09 14:42:50 INFO mapreduce.Job: Task Id : attempt_1404886826875_0007_m_000000_1, Status : FAILED
Exception from container-launch: org.apache....
分类:
其他好文 时间:
2014-07-11 00:24:58
阅读次数:
355
今天写一个简单的socket网络通讯的程序的时候,用ctrl+c结束服务器端程序之后,再次启动服务器出现了bind failed:the address already in use的错误。在网上查了一下以后找到了原因,在此记录一下。这个IBM的官网上说到了这一点:http://www.ibm.com/developerworks/cn/linux/l-sockpit/。详细介绍如下:
...
分类:
系统相关 时间:
2014-07-10 21:30:27
阅读次数:
806
错误例子:error: command 'cc' failed with exit status 1clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard err...
分类:
其他好文 时间:
2014-07-10 19:30:11
阅读次数:
3913
错误代码:Failed to Initialize Windows Azure Storage EmulatorAdded reservation for http://127.0.0.1:10000/ in user account Richard-PC\Richard.Added reserva...
遇到的问题:1.java.io.IOException: open failed: EINVAL (Invalid argument)异常,在模拟器中的sd卡创建文件夹和文件时报错出错原因可能是:(1)文件名称中含有不符合规范的字符,比如“:”,“?”或者空格等。(2)需要先创建文件夹目录再创建文件...
分类:
移动开发 时间:
2014-07-10 15:12:16
阅读次数:
255
近期在升级Android Studio后,发现原先能编译通过的project,突然就编译只是了,原因是生成的AndroidManifest.xml文件里有乱码。升级后:android studio 0.6.0build tools 19.1.0Android SDK tools 22.6.4.gra...
分类:
移动开发 时间:
2014-07-09 14:58:27
阅读次数:
228