ubuntu14.04编android2.3.1的一些坑
1、 apt-cache policy name 获得已安装的name 的version 2、android 2.3.1在ubuntu14.04上编译的错误 *gcc 不对:安装4.4的gcc和g++ *Zgnote.c报错:用下面的patch diff --git a/vm/native/dalvik_system_ Zygote.c b/vm/native/dalvik_system_ Zygote.c index bcc2313..112563a 100644 --- a/vm/native/dalvik_system_ Zygote.c +++ b/vm/native/dalvik_system_ Zygote.c @@ -21,6 +21,7 @@ #include "native/InternalNativePriv.h" #include <signal.h> +#include <sys/resource.h> #include <sys/types.h> #include <sys/wait.h> #include <grp.h> */usr/bin/ld: cannot find -lcurse apt-get install lib32ncurses5 */usr/bin/ld: cannot find -lz sudo apt-get install