发布时间:2013-08-10 01:05:45
root@ubuntu:/home/tim# curl http://android.git.kernel.org/repo >./bin/reporoot@ubuntu:/home/tim# curl http://android.git.kernel.org/repo >./bin/repo % Total % Received % Xferd Average Speed Time Time Time Current &n.........【阅读全文】
发布时间:2013-04-28 09:11:31
1.下载jdk-6u35-linux-x64.binunpack jdk-6u35-linux-x64.bin产生jdk1.6.0_352.在etc/profile最后加入如下:JAVA_HOME=/home/tim/software/jdk1.6.0_35JRE_HOME=$JAVA_HOME/jreCLASSPATH=.:$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar:/$JAVA_HOME/lib/dt.jarPATH=$PATH:$JAVA_H.........【阅读全文】
发布时间:2013-04-25 18:13:28
在JNI的c文件中如果用到了#include <utils/Log.h> 然后用NDK 编译, ndk-build clean && ndk-build 提示error: utils/Log.h: No such file or directory如果只是用到LOG功能1 修改Android.mk文件配置,添加如下语句LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog2 在.c文件中修改为如下语句//#include <uti.........【阅读全文】
发布时间:2013-04-25 15:05:08
/bin/bash: jar: command not found 解决办法: cd /usr/bin 必须先进入/usr/bin,下同 sudo ln -s -f /home/tim/software/jdk1.6.0_35/bin/jar 我的jdk是安装在/home/tim/software/jdk1.6.0_35/目录下的 如果提示javah:commond not found,于是照葫芦画瓢,输入命令 cd /usr/bin ln -s -f /home/tim/softwa.........【阅读全文】
发布时间:2013-04-01 17:20:49
Open .bash_profile file,add as follow:NDKRoot=/cygdrive/e/Devetool/android-ndk-r5export NDKRootAPP_PROJECT_ROOT=/cygdrive/e/Project_Develop/E97/i-Emenu433_E97_Multexport APP_PROJECT_ROOTand then you can build project as follow:#cd $NDKRoot#./ndk-build -C $APP_PROJECT_ROOTend..........【阅读全文】