`

解决 Only 64-bit build environments are supported beyond froyo/2.2.

 
阅读更多

 

在使用:
$ repo init -u git://Android.git.kernel.org/platform/manifest.git
$ repo sync
下载完代码后,进行make,
$cd ~/mydroid
$make
却出现了如下错误:
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.
这是因为froyo/2.2默认只支持64-bit,看到有些网友还要去下载64-比他的操作系统,很是麻烦,于是通过不断搜索资料终于解决,

解决办法:
需要进行如下修改即可,
./external/clearsilver/cgi/Android.mk
./external/clearsilver/java-jni/Android.mk
./external/clearsilver/util/Android.mk
./external/clearsilver/cs/Android.mk
四个文件中的
LOCAL_CFLAGS += -m64
LOCAL_LDFLAGS += -m64
注释掉,或者将“64”换成“32”
LOCAL_CFLAGS += -m32
LOCAL_LDFLAGS += -m32

然后,将
./build/core/main.mk 中的
ifneq (64,$(findstring 64,$(build_arch)))
改为:
ifneq (i686,$(findstring i686,$(build_arch)))
分享到:
评论

相关推荐

    Android源码编译make的错误处理

    #$(warning Only 64-bit build environments are supported beyond froyo/2.2.) #$(warning************************************************************) #$(error stop) #endif ``` 这样可以绕过对32位...

    rk2918上的android 2.3.1编译过程

    $(warning Only 64-bit build environments are supported beyond froyo/2.2.) $(warning ************************************************************) $(error stop) endif ``` - 修改为: ``` ifneq(i...

    在32位Ubuntu 10.04上编译Android 2.3.doc

    #$(warning Only 64-bit build environments are supported beyond froyo/2.2.) #$(warning ************************************************************) #$(error stop) #endif ``` 将以上内容注释掉。 ...

    ruby186-26

    - create config/environments/development.rb - create config/environments/test.rb - create script/console - create script/console_sandbox - create script/destroy - create script/generate - create ...

    spring 最新框架jar

    `./gradlew build` ... and discover more commands with `./gradlew tasks`. See also the [Gradle build and release FAQ][]. ## Contributing [Pull requests][] are welcome; see the [contributor guidelines...

    PowerTCP.Toolkit.v4.1.for.Visual.Basic.4.16-bit.WinALL.Incl.

    The PowerTCP Tools supercede 槽鄄 the PowerTCP C++ Professional Toolkit if you are looking for pure 槽鄄 ActiveX controls, but if you are looking for: 槽鄄 槽鄄 C++ Class Libraries (16 and 32-bit) 槽...

    PowerTCP.Toolkit.v4.1.for.Delphi.16-bit.WinALL.Incl.Keymaker

    The PowerTCP Tools supercede 槽鄄 the PowerTCP C++ Professional Toolkit if you are looking for pure 槽鄄 ActiveX controls, but if you are looking for: 槽鄄 槽鄄 C++ Class Libraries (16 and 32-bit) 槽...

    PowerTCP.Toolkit.v4.1.for.Visual.C.16-bit.WinALL.Incl.Keymak

    The PowerTCP Tools supercede 槽鄄 the PowerTCP C++ Professional Toolkit if you are looking for pure 槽鄄 ActiveX controls, but if you are looking for: 槽鄄 槽鄄 C++ Class Libraries (16 and 32-bit) 槽...

    解决Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported

    For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.13.1  at module.exports (E:\taishou\taiping\node_modules\_node-sass@3

    Wordware.Publishing.32.64-BIT.80x86.Assembly.Language.Architecture.chm

    by-step understanding of programming Intel and AMD 80x86 processors in assembly language, this book attempts to break through the complexity of programming environments and explains 32-bit and 64-bit ...

    Kaggle自动化作文检查系统:我对Kaggle AES项目的尝试(https:www.kaggle.comcasap-aes)

    Kaggle自动化作文检查系统 我对Kaggle AES项目的尝试( )线性回归模型使用Word2Vec模型和自定义生成的启发式特征来获得0.... ./utils/helperfunctions.py ./utils/requirements.py 用于Capstone项目的图书馆: Sciki

    deep q_learning

    Notice that these are **only experimental** and might currently not even run. ## How do I install it and how do I get started? Installing `keras-rl` is easy. Just run the following commands and you ...

    UE(官方下载)

    If you've ever found yourself pulling your hair out trying to build the perfect regular expression to match the least amoun... Remove blank lines A question we often see is "I have a lot of blank ...

    The rails4 way

    - **启动和应用程序设置**: 阐述了Rails应用如何加载和配置,包括环境变量的设置以及如何使用`config/environments`目录下的不同环境文件来适应不同的部署场景。 - **开发模式**: 详细讨论了开发环境下Rails的行为...

    environments-maven-plugin-0.0.17.zip

    《environments-maven-plugin-0.0.17.zip:打造灵活的环境配置管理》 在软件开发过程中,尤其是在Java领域,Maven作为构建工具已经成为了不可或缺的一部分。它为我们提供了强大的依赖管理和项目构建功能。然而,当...

    39948_The Blacksmith Environments v1.0.3695(Jan 26,2018)

    The Blacksmith: Environments Unity Essentials/Asset Packs Unity Technologies (1008) FREE Add to Downloads Requires Unity 5.1.1 or higher. Note Please open in Unity 5.1.1f1 or newer. For users who get...

    Eclipse 搭SSH框架开发学习笔记

    - 选择 `Servers -> Runtime Environments`。 - 点击右侧的 `Add...` 按钮,选择 `Apache Tomcat v7.0` 并按照提示完成配置。 #### 四、Eclipse整合Struts2,Spring,Hibernate 1. **导入框架项目**: - 打开...

    drools-distribution-7.10.0.Final

    1.Quartz: Quartz is an optional jar only needed if you wish to adapt existing quartz calendars. It can be downloaded from http://www.quartz-scheduler.org/. Run the examples ---------------- It's ...

Global site tag (gtag.js) - Google Analytics