32 systems cannot compile Android Solutions

Source: Internet
Author: User

First of all, in the development environment, Google recommends that you use ubuntu10.0.4 and preferably 64-bit. Since it is for work and study, follow the official requirements as much as possible.

Python 2.5 -- 2.7 ubuntu10.0.4 has been installed by default, so you do not need to install it. You need to install it in other environments.

JDK 6 compiling 4.0 requires JDK 6 and JDK 5 for SDK Compilation

Git 1.7 or newer

If your Ubuntu is 32-bit, perform the following steps before downloading the source code:

After downloading the source code, modify the following four files: external/clearsilver/cgi/Android. mk.
External/clearsilver/Java-JNI/Android. mk
External/clearsilver/util/Android. mk
External/clearsilver/CS/Android. mk

Set local_cflags + =-M64
Local_ldflags + =-M64

Change to local_cflags + =-M32
Local_ldflags + =-M32

In build/CORE/Main. mk

Find ifneq (64, $ (findstring 64, $ (build_arch )))

Change it to ifneq (i686, $ (findstring i686, $ (build_arch )))

If you install Ubuntu with the latest 11.04 header, a header file loss error may occur at the end of the compilation due to the kernel version bug. For example:, please fix it as follows:

Repo download platform/external/qemu 22776/1 if you are 10.0.4, do not do anything redundant. If you fix it, the compiled version may fail to enter the system due to the black screen. Remember!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.