联合会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
前列腺钙化
前列腺钙化的我,如何拯救输卵管堵塞的你。
博客园
首页
新随笔
新文章
联系
订阅
管理
2018年2月24日
F2FS readblock PNG图片文件头不正确问题
摘要: 正确:89 50 4E 47 0D 0A 1A 0A 错误:89 50 4E 47 0A 0A 1A 0A 需要用c++ 代码读取一帧图像的内容,图像大小为1368*768*4 = 4202496 代码如下: 每次输出的gcount 都是217 ,无法读出指定数量的字节。 找了半天原因,发现在218
阅读全文
posted @ 2018-02-24 09:36 龙城狂拽酷炫霸
阅读(191)
评论(0)
推荐(0)
编辑
2018年1月8日
Visual Leak Detector使用方法
摘要: Visual Leak Detector是一款免费的、健全的、开源的Visual C++内存泄露检测系统。相比Visual C++自带的内存检测机制,Visual Leak Detector可以显示导致内存泄露的完整内存分配调用堆栈。 主页地址:http://vld.codeplex.com/ 旧版
阅读全文
posted @ 2018-01-08 11:12 龙城狂拽酷炫霸
阅读(313)
评论(0)
推荐(0)
编辑
2017年7月18日
adb shell中运行二进制 :only position independent executables (PIE) are supported. 解决方案
摘要: error: only position independent executables (PIE) are supported. 1 error: only position independent executables (PIE) are supported. 这是由于PIE安全机制所引起的,从Android4.1开始引入该机制,但是Android L之前的系统版本并不会去检...
阅读全文
posted @ 2017-07-18 12:53 龙城狂拽酷炫霸
阅读(1155)
评论(0)
推荐(0)
编辑
2017年7月10日
android单独刷入镜像
摘要: 刷入recovery: fastboot flash recovery recovery.img 刷入boot: fastboot flash boot boot.img 刷入userdata: fastboot flash userdata userdata.img
阅读全文
posted @ 2017-07-10 16:47 龙城狂拽酷炫霸
阅读(382)
评论(0)
推荐(0)
编辑
2017年7月4日
安装libgl1-mesa-dri:i386重启后黑屏问题解决
摘要: libgl1-mesa-glx:i386组件安装时卸载了系统的xserver组件。 首先 dpkg -l grep *xserver* 看一下 xserver-xorg-video-all-lts-xenial 1:7.7+13ubuntu3~trusty2 amd64 X.Org X server
阅读全文
posted @ 2017-07-04 20:23 龙城狂拽酷炫霸
阅读(960)
评论(0)
推荐(0)
编辑
2017年7月3日
adb连接安卓模拟器
摘要: 国产出了很多速度比较快的安卓模拟器,不过每次ide重启后需要用adb命令重连模拟器 adb connect 127.0.0.1 这句命令默认会连5555端口,谷歌官方模拟器就是用这个端口,但是这些国产模拟器用的端口却不一样 windows下的 夜神模拟器 adb connect 127.0.0.1:
阅读全文
posted @ 2017-07-03 14:41 龙城狂拽酷炫霸
阅读(1077)
评论(0)
推荐(0)
编辑
2017年6月29日
编译andorid内核
摘要: 昨天编译完系统,今天编译内核 首先下载源码 然后查看分支 然后check下来 但是因为被墙了,所以网页下载的2.6.29版本 https://android.googlesource.com/kernel/goldfish.git/+/android-goldfish-2.6.29 然后交叉编译,设
阅读全文
posted @ 2017-06-29 19:46 龙城狂拽酷炫霸
阅读(194)
评论(0)
推荐(0)
编辑
android镜像文件说明
摘要: android 源码编译完成后会生成三个镜像文件 system.img ->yaffs2格式 userdata.img ->yaffs2格式 ramdisk.img ->cpio 前两个文件可以挂载,但ubantu14.04默认不支持yaffs2格式,需编译内核。 windows下有解析此格式的软件
阅读全文
posted @ 2017-06-29 12:47 龙城狂拽酷炫霸
阅读(721)
评论(0)
推荐(0)
编辑
2017年6月26日
ubantu14.04配置android编译环境
摘要: OS: ubuntu-14.04.5-desktop-amd64.iso jdk:jdk-6u45-linux-x64 android: android-4.0.1_r1 //中科大源https://lug.ustc.edu.cn/wiki/mirrors/help/aosp 网上看一堆啰嗦又没成功
阅读全文
posted @ 2017-06-26 10:00 龙城狂拽酷炫霸
阅读(820)
评论(0)
推荐(0)
编辑
2017年5月29日
UDP组播相关
摘要: Windows服务端 windows客户端 Linux服务端 Linux客户端 windows收发可用,linux发可用,收每隔一段时间收到一堆包,不能实时接收,可能是防火墙之类的问题。 JAVA 版客户端 这两行一定要加上,我在真机测试时,发现无线网卡没有多播包,调查好久才知道,VC和java对默
阅读全文
posted @ 2017-05-29 11:55 龙城狂拽酷炫霸
阅读(419)
评论(0)
推荐(0)
编辑
下一页