2012年9月5日
摘要: two-libs:两个库的使用,first为静态库,second为动态库,并且second库调用first库。Android.mk文件:LOCAL_PATH:= $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := libtwolib-firstLOCAL_SRC_FILES := first.cinclude $(BUILD_STATIC_LIBRARY) //表示编译成静态库# second lib, which will depend on and include the first oneinclude $(CLEAR_VARS)LO.. 阅读全文
posted @ 2012-09-05 17:33 lee0oo0 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 配置NDK环境变量及生成so文件:1、 首先找到cygwin的安装目录,找到一个home\<你的用户名>\.bash_profile文件,我的是:E:\cygwin\home\Administrator\.bash_profile。(注意:我安装的时候我的home文件夹下面神马都没有,解决的办法:首先打开环境变量,把里面的用户变量中的HOME变量删掉,在E:\cygwin\home文件夹下建立名为Administrator的文件夹(是用户名),然后把E:\cygwin\etc\skel\.bash_profile拷贝到该文件夹下)。2、 打开bash_profile文件,(此处必须 阅读全文
posted @ 2012-09-05 14:19 lee0oo0 阅读(9220) 评论(0) 推荐(1) 编辑