我已经从https://android.googlesource.com下载了源码,我现在想知道我是否可以使用交叉编译器编译库(仿生)和Dalvik VM?如果是的话,我该怎么做?
答案 0 :(得分:0)
所有依赖关系都在http://source.android.com/source/download.html上给出,如下所示:
$ sudo add-apt-repository“deb http://archive.canonical.com/ lucid 合作伙伴“
$ sudo add-apt-repository”deb-src http://archive.canonical.com/ubuntu清醒的伙伴“
$ sudo apt-get 更新
$ sudo apt-get install sun-java6-jdk
$ sudo update-java-alternatives -s java-6-sun
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g ++ - multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev