《CM 出错解决.docx》由会员分享,可在线阅读,更多相关《CM 出错解决.docx(8页珍藏版)》请在金锄头文库上搜索。
1、CM 出错解决http:/ Setting up a linux build environment2. Downloading and Building在下载和编译之前,检查是否符合条件:1). Linux 或者 Mac 系统 。 如果在Windows 上使用虚拟机,则需要至少16G 的RAM/SWAP 和 30G 的 磁盘。2). 编译2.3 及以上要64位系统。 (head -n 1 /etc/issue 我使用的 Ubutnu 12.04.4 LTS )3). 30G 磁盘- single build ; 100G 磁盘 -full build ( 我的 可用空间有140G)4). P
2、ython 2.6-2.7 (Ubutnu 自带 2.7.3)5). GNU Make 3.8.1 - 3.8.2 (目前还没有)6). JDK 7 - 用来编译最新的 AOSP (我的 jdk6 7 都有了) JDK 6 - Gingerbread(2.3.x) 到 KitKat(4.4) JDK 5 - 2.3 以下7). Git 1.7 或更新-1) 安装JDK :sun jdk :http:/ 安装 需要的包(12.04) $ sudo apt-get install git gnupg flex bison gperf build-essential zip curl libc6-d
3、ev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g+-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so3) 配置USB 访问权限 :http:/ lsusb 下面右一行Bus 001 Device 005: ID 18d1:9025 Google Inc. span style=word-wrap: bre