goldfish-android-goldfish-2.6.29.tar.gz
下载地址
http://pan.baidu.com/s/1sjry4Q5
密码:47xl
arch/arm/configs/goldfish_defconfig:289:warning: override: FB_EARLYSUSPEND c
把goldfish_defconfig中的内部覆盖.config中
错误:android 编译时make[5]: arm-eabi-gcc: Command not found
vim ~/.bashrc
export PATH=$PATH:$HOME/MT6573/alps-w1140-20111007/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/
export PATH=$PATH:Android/Gingerbread/android-2.3.7_r1/out/host/linux-x86/bin ~/Android/Gingerbread/android-2.3.7_r1/
export PATH=$PATH:~/Android/Gingerbread/android-2.3.7_r1/out/host/linux-x86/bin
export ANDROID_PRODUCT_OUT=~/Android/Gingerbread/android-2.3.7_r1/out/target/product/generic
source ~/.bashrc
用cat命令查看/proc/kmsg里面的日志,看看能不能发现什么线索
回复liguoqing19861028:第一行:将arch/arm/configs/目录下的goldfish_armv7_defconfig 文件内容拷贝到当前目录下的.config文件中,.config文件是个隐藏文件,保存着
make要使用到的一些相关配置信息.
执行cat /proc/cpuinfo命令,里面有系统当前使用的arm的版本号。
emulator -show-kernel -kernel xxxx -shell
同时看kernel打印出来的kmesg及logcat日志,
logcat -v time -b main -b system
看日志才能看出问题
emulator: WARNING: system partition size adjusted to match image file (96 MB > 66 MB)
emulator -partition-size 500
emulator -shell ---.最好。
2. 看见开机动画的粗体'android'出现后,才开始联机--adb shell.
用adb连上设计,执行cat /proc/cpuinfo命令,里面有系统当前使用的arm的版本号。
安装eclipse遇见的问题
Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi-gtk-4234 in java.library.path
no swt-pi-gtk in java.library.path
/home/nifty/.swt/lib/linux/x86/libswt-pi-gtk-4234.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Can't load library: /home/nifty/.swt/lib/linux/x86/libswt-pi-gtk.so
found for 64 bit system, it helped me. ###
sudo apt-get install libcanberra-gtk-module:i386 (run 32 bit lib for 64 bit system)
### sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 libxtst6:i386