(5) 使用 eclipse 阅读源码
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了(5) 使用 eclipse 阅读源码,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1826字,纯文字阅读大概需要3分钟。
内容图文
![(5) 使用 eclipse 阅读源码](/upload/InfoBanner/zyjiaocheng/1324/ce09c5178c774003b4284bf81dea0001.jpg)
eclipse 安装、配置
现在 google 已经停止了对 ADT Bundle 的支持,现在必须分开下载 eclipse、ADT 和 SDK。eclipse 下载地址(luna 4.4.1)
安装 ADT
To add the ADT plugin to Eclipse:
- Start Eclipse, then select Help > Install New Software.
- Click Add, in the top-right corner.
- In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/Note: The Android Developer Tools update site requires a secure connection. Make sure the update site URL you enter starts with HTTPS.
- Click OK.
- In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
- In the next window, you‘ll see a list of the tools to be downloaded. Click Next.
- Read and accept the license agreements, then click Finish.
If you get a security warning saying that the authenticity or validity of the software can‘t be established, click OK.
- When the installation completes, restart Eclipse.
下载 SDK
导入 Android 源码
1、取消 Porject > Build Automatically2、To import the formatter, go to the preferences, section Java > Code Style >formatter, then click on import and choose development/ide/eclipse/android-formatting.xml3、复制 development/ide/eclipse/.classpath 到 Android 源码根目录下。
To import the import order, to go into Java > Code Style > Organize Import, then click on import and choose development/ide/eclipse/android.importorder4、新建 java project,根目录设置为 Android 源码目录,确定,然后就是漫长等待了。5、C++ index 之前注意去除一些没用的目录:external、art 等。
原文:http://www.cnblogs.com/JonnyLulu/p/4192596.html
内容总结
以上是互联网集市为您收集整理的(5) 使用 eclipse 阅读源码全部内容,希望文章能够帮你解决(5) 使用 eclipse 阅读源码所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。