这个错误是和调用相机摄像头相关的。产生这个错误的原因主要在于代码控制分辨率的显示和真机测试分辨率不一样。 一:解决办法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
近期在升级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
Git 的BUG小结
Git 在push的时候出现了:
fatal: The remote end hung up unexpectedly
在网上找了很多 发现出现了以下错误提示也可能是相同的问题:
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everythi...
分类:
其他好文 时间:
2014-07-08 21:10:53
阅读次数:
180
问题:Windows 8.1系统上安装VirtualSVN Server发生Service 'VisualSVN Server' failed to start. Please check VisualSVN Server log in Event Viewer for more details. 错误
点击retry之后,也无法使用。
网上方案:
在弹出错误之后,运行:ser...
分类:
其他好文 时间:
2014-07-08 19:23:02
阅读次数:
220
游戏后端代码采用Nginx+PHP-FPM的方式部署。放问游戏的时候偶尔会出现502错误。Nginx错误日志出现以下日志2014/07/0517:20:58[error]18431#0:*148739recv()failed(104:Connectionresetbypeer)whilereadingresponseheaderfromupstream,client:192.168.1.56,server:,request:"POS..
分类:
Web程序 时间:
2014-07-08 12:29:59
阅读次数:
174
在android的官网上买下载android的adt完了,进行解压之后,开始点击eclipse.exe,果然给了我一个惊喜,那就是[ Failed to create the Java Virtual Machine. ],看到这个消息之后进行了网上的查询,发现错误的根源是eclipse.ini这个...
分类:
移动开发 时间:
2014-07-08 11:37:39
阅读次数:
354
出现这个错误的原因是Genymotion默认的处理器是x86的,不是arm的。所以安装的时候会出错,只要把x86转换成arm就可以了。
转换方法:
1、下载转换的zip文件:http://download.csdn.net/detail/hyr83960944/7606813
2、下载好的压缩文件不要解压缩,直接用鼠标拖到Genymotion模拟器中
3、等待模拟器File refresh...
分类:
其他好文 时间:
2014-07-08 10:38:37
阅读次数:
157
[root@centos64x64mysql-5.1.65]#/etc/init.d/mysqldrestartMySQLmanagerorserverPIDfilecouldnotbefound![FAILED]解决办法第一,先删除rm-rf/var/lib/mysql,然后重新初始化/usr/local/mysql/bin/mysql_install_db--user=mysql
分类:
数据库 时间:
2014-07-08 09:19:32
阅读次数:
281
root@localhostPackages]#ls|greprpmbuild居然没有这个包,奇怪了!!![root@localhostPackages]#ls|grepbuild秘密~libreoffice-report-builder-4.0.4.2-9.el6.x86_64.rpmrpm-build-4.8.0-37.el6.x86_64.rpm[root@localhostPackages]#rpm-ivhrpm-build-4.8.0-37.el6.x86_64.rp..
分类:
其他好文 时间:
2014-07-05 23:14:25
阅读次数:
1588