`
sharp2wing
  • 浏览: 271849 次
  • 性别: Icon_minigender_1
  • 来自: 南京
文章分类
社区版块
存档分类
最新评论

Android编译问题:Only 64-bit build environments are supported beyond froyo/2.2

阅读更多
下载完代码后,进行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)))


OK!问题解决
分享到:
评论

相关推荐

    Android源码编译make的错误处理

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

    解决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

    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 ``` 将以上内容注释掉。 ...

    Android Recipes: A Problem-Solution Approach, 3rd Edition

    Develop a unit conversion app in the context of the command-line/Android SDK and Eclipse/Android SDK environments Who this book is for This book is a handy reference for all Android app developers. ...

    The rails4 way

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

    EurekaLog_7.5.0.0_Enterprise

    17)..Fixed: 64-bit shared memory manager may not work 18)..Fixed: Possible "Unit XYZ was compiled with a different version of ABC" when using packages 19)..Fixed: FastMM shared MM compatibility 20).....

    Git-2.14.1-64-bit

    Git windows 64位 代码管理工具 Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user ...

    Marvell switch product

    The Prestera DX series packet processors are designed to offer advanced Layer 2+ and Layer 3 switching capabilities with robust security features. Here’s a detailed breakdown of the key components: ...

    tomcat启动的问题--apr

    信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jre1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\...

    Applied ADO.NET: Building Data-Driven Solutions(2)

    Chapter 3 - ADO.NET in Disconnected Environments Chapter 4 - ADO.NET in Connected Environments Chapter 5 - Handling ADO.NET Events Chapter 6 - Integrating XML with ADO.NET Chapter 7 - Data ...

    Programming Environments Manual for 32-Bit Implementations of the PowerPC™ Architecture

    - **编译器选项**:讨论编译时针对32位目标的最佳实践和配置选项。 - **性能考虑**:探讨在32位环境中提高性能的方法,如减少缓存缺失和利用硬件特性等。 #### 四、参考文献 手册列出了多个参考文献,这些文献提供...

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

    nix-shell-environments::snowflake:收集nix-shell环境

    在这个shell中,你可以像在干净的环境中一样编译和测试代码,而不会影响到你的全局系统状态。 在项目中使用Nix Shell还有其他好处。例如,团队成员可以确保他们在相同的环境中工作,从而减少了因环境不一致导致的...

    centos下安装oracle 10g教程

    - Desktop Environments — GNOME Desktop Environment: 全部选择 - Development — Development libraries: 默认项 - GNOME Software Development: 默认项 - Java Development: 默认项 - legacy Software ...

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

    jdk1.7_80 window.64

    **Java Development Kit (JDK) 1.7 Update 80 for Windows 64-bit** JDK 1.7, also known as Java SE (Standard Edition) 7, is a crucial software development kit for building and running Java applications ...

Global site tag (gtag.js) - Google Analytics