Ubuntu 64 bit 编译 Android[Linux安全]
本文“Ubuntu 64 bit 编译 Android[Linux安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
The Android build requires a 32-bit build environment as well as some other tools:
Required Packages:
Git, JDK, flex, and the other packages as listed above in the i386 instructions:
JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
Pieces from the 32-bit cross-building environment
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl sun-java5-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
Set the system to use the right version of java by default:
$ sudo update-java-alternatives -s java-1.5.0-sun
注意:32 bit Required Packages 为
git-core gnupg sun-java5-jdk flex bison gperf build-essential zip curl zlib1g-dev libsdl-dev libesd0-dev libwxgtk2.6-dev libncurses5-dev
而Ubuntu 64 bit 下的 Required Packages 为 git-core gnupg flex bison gperf build-essential zip curl sun-java5-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
32bit与64bit下的依靠包 差别之处在于橙色与红色部份
大概招致错误情形:
bin/bash: 第 0 行: cd: sdk/layoutopt/app/src/resources: 没有那个文件或目录
以上是“Ubuntu 64 bit 编译 Android[Linux安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |