摘要: 搞了半天android,竟然对external下的库一无所知?不能容忍!马上解决:android-mock:编译为java静态库。说明:Android Mock is a framework for mocking interfaces and classes on the Dalvik VM。资料... 阅读全文
posted @ 2015-04-10 15:49 johnny_shi 阅读(890) 评论(0) 推荐(1) 编辑
摘要: Android编译环境本身比较复杂,且不像普通的编译环境:只有顶层目录下才有Makefile文件,而其他的每个component都使用统一标准的Android.mk. Android.mk文件本身是比较简单的,不过它并不是我们熟悉的Makefile,而是经过了Android自身编译系统的很多处理,因... 阅读全文
posted @ 2015-04-10 15:45 johnny_shi 阅读(956) 评论(0) 推荐(0) 编辑
摘要: find / -type f -name "*.log" | xargs grep "ERROR" 要查的目录 类型 什么样的文件下查找 要查找的内容 阅读全文
posted @ 2015-04-10 15:35 johnny_shi 阅读(128) 评论(0) 推荐(0) 编辑
摘要: google 出结果http://stackoverflow.com/questions/15623609/including-curl-into-the-android-aosp............................................................... 阅读全文
posted @ 2015-04-10 15:33 johnny_shi 阅读(4385) 评论(0) 推荐(0) 编辑
摘要: Android源码目录下的build/envsetup.sh文件,描述编译的命令- m: Makes from the top of the tree.- mm: Builds all of the modules in the current directory.- mmm: Builds all... 阅读全文
posted @ 2015-04-10 14:01 johnny_shi 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 不知道怎么编译IW,所以就搜索网络上的博客http://blog.csdn.net/jksl007/article/details/16862435首先,iw依赖于libnl库,而目前android自身没有携带libnl库,所以要移植iw就要把libnl一起移植上去。好在Dominik Schurm... 阅读全文
posted @ 2015-04-10 13:35 johnny_shi 阅读(1489) 评论(0) 推荐(0) 编辑
摘要: ......................................................................................................................................................... 阅读全文
posted @ 2015-04-10 11:56 johnny_shi 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 打开config.mk............................................................................................ifdef CONFIG_MMCexport CONFIG_SSB_SDIOHOST=yexp... 阅读全文
posted @ 2015-04-10 11:45 johnny_shi 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 在做beagleboneblack移植的时候,wl18xx的驱动源码是自动编译的。但是移植到其他平台优越平台不一样,所以就不能自动编译所以用其他方式编译。http://e2e.ti.com/support/embedded/android/f/509/p/272074/951251 在TI找到的解决... 阅读全文
posted @ 2015-04-10 10:52 johnny_shi 阅读(960) 评论(0) 推荐(0) 编辑
摘要: du -sh * 查看当前目录下文件的大小 阅读全文
posted @ 2015-04-10 10:30 johnny_shi 阅读(180) 评论(0) 推荐(0) 编辑