After the source code is downloaded, run the following command:
Root @ alex-MS-7236 :~ # Cd mydroid
Root @ alex-MS-7236 :~ /Mydroid # repo sync
An error occurs.
========================================================== ====
Checking build Tools versions...
Build/CORE/main. MK: 76: **************************************** ********************
Build/CORE/Main. mk: 77: You are attempting to build on a 32-bit system.
Build/CORE/Main. mk: 78: only 64-bit build environments are supported beyond froyo/2.2.
Build/CORE/main. MK: 79: **************************************** ********************
Build/CORE/Main. mk: 80: *** stop. Stop.
========================================================== ====
This is because froyo/2.2 only supports 64-bit by default, and some netizens still need to download 64-bit OS.
Solution: Set. /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, and then. /build/CORE/main. ifneq (64, $ (findstring 64, $ (build_arch) in MK is changed to: ifneq (i686, $ (findstring i686, $ (build_arch )))