Ubuntu Linux (64-bit x86)
This has not been as well tested. Please send success or failure reports to android-porting@googlegroups.com.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
- X11 development
$ 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
- X11: Ubuntu doesn't have packages for the X11 libraries, but that can be worked around with the following command:
$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so