Android Compilation: only 64-bit build environments are supported beyond froyo/2.2

Source: Internet
Author: User
Android Compilation: only 64-bit build environments are supported beyond froyo/2.2

Run $ repo init-u git: // android.git.kernel.org/platform/manifest.git$ repo sync to make, $ Cd ~ after downloading the code ~ /Mydroid

$ Make has the following error: build/CORE/main. MK: 73: You are attempting to build on a 32-bit system. build/CORE/main. MK: 74: only 64-bit build environments are supported beyond froyo/2. 2. this is because froyo/2.2 only supports 64-bit by default. Some netizens still need to download 64-bit files, which is much more troublesome than their operating systems. So they finally solved the problem by searching for information continuously,
Solution: make the following changes. /external/clearsilver/cgi/android. mk. /external/clearsilver/Java-JNI/android. mk. /external/clearsilver/util/android. mk. /external/clearsilver/CS/android. local_cflags + =-M64 local_ldflags + =-M64 In the MK files, or replace "64" with "32" local_cflags + =-M32 local_ldflags + =-M32
Then. /build/CORE/main. ifneq (64, $ (findstring 64, $ (build_arch) in MK is changed to: ifneq (i686, $ (findstring i686, $ (build_arch )))

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.