简体   繁体   English

如何使用Windows在eclipse中编译和修改android 4.0.3源代码

[英]how to compile and modify android 4.0.3 source code in eclipse using windows

I have downloaded the android source code 4.0.3, installed cygwin with make and gcc, and downloaded ndk and sdk, integrated eclipse with cdt and adt. 我已经下载了android源代码4.0.3,使用make和gcc安装了cygwin,并下载了ndk和sdk,以及与cdt和adt集成的eclipse。 Using windows 7 64bit. 使用Windows 7 64位。

Can you guys tell me how to build this source code in eclipse in order to customize the native settings menu. 你们能告诉我如何在eclipse中构建此源代码以自定义本机设置菜单。

Thanks in advance. 提前致谢。

FYI :I have been through google, stackoverflow, but couldn't find any lead which works. 仅供参考:我已经通过Google,stackoverflow,但是找不到有效的线索。

See these pages in the Developer docs: Initializing a Build Environment . 请参阅Developer docs: 初始化构建环境中的以下页面。 This page seems to indicate that Mac, and Linux are the only supported build environment OS. 该页面似乎表明Mac和Linux是唯一受支持的构建环境OS。 I would suggest using one of those instead of Windows 7. 我建议使用其中之一代替Windows 7。

Once you've got environment set up see also: Building and Running 设置好环境后,请参见: 构建和运行

I think it will be very difficult. 我认为这将非常困难。 From my experience, even on the supported platforms there are difficulties to tune build environment. 根据我的经验,即使在受支持的平台上,也很难调整构建环境。 Windows is not supported so I think this is almost impossible there. 不支持Windows,因此我认为这几乎是不可能的。

Maybe in your case it's worth to install a virtual machine? 在您的情况下,也许值得安装虚拟机?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM