Menu Home


android编译错误 : android the correct version is 1.6

android编译错误 : android the correct version is 1.6 OS : ubuntu10.04  64bit 问题 android编译过程中报错: You are attempting to build with the incorrect version of java. Your version is: java version “1.6.0_22”. The correct version is: Java SE 1.6. 解决 从java官方地址 下载Java SE Development Kit 6 Update 31文件 移到/opt目录下 执行 chmod +x […]

android 自动设置mtu

android 自动设置mtu os : android 4.0.4 kernel : 3.0.8 重新挂载system目录为可读: mount -o remount,rw /system 在/system/etc/ip-up 文件中加入下面这行(NAME是你需要设置mtu的设备,如eth0, ppp0等): /system/bin/ifconfig $NAME mtu 1400 注:如果你使用了busybox,需要使用下面的命令: busybox ifconfig $NAME mtu 1400


移植tslib到Android 环境变量 export env export TSLIB_TSEVENTTYPE=INPUT export TSLIB_TSDEVICE=/dev/input/event4 export TSLIB_CALIBFILE=/system/etc/pointercal export TSLIB_CONFFILE=/system/etc/ts.conf export TSLIB_PLUGINDIR=/system/lib/ts/plugs export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_CONSOLEDEVICE=none export TSTS_INFO_FILE=/sys/devices/virtual/input/input1/uevent export QWS_MOUSE_PROTO=tslib:/dev/input/event4 交叉编译过程中的问题 arm-eabi/bin/ld: crt0.o: No such file: No such file or directory 解决:configure加 CFLAGS=”-nostdlib” 我的 ,测试通过 LOCAL_PATH:=$(call my-dir) include $(CLEAR_VARS) TSLIB_PLUGINDIR:=/system/lib/ts/plugins LOCAL_SRC_FILES:=\ src/ts_attach.c\ src/ts_close.c \ src/ts_config.c \ src/ts_error.c \ […]