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 )))