eclipse搭建android开发环境

Posted 天气晚来秋

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse搭建android开发环境相关的知识,希望对你有一定的参考价值。

参考

http://blog.csdn.net/u013067166/article/details/48594371/

 

我在ubuntu上用android studio实在很卡,新手生无可恋。

遂辗转于eclipse。安装ADT的时候遇到一个问题:

error occurred while collecting items to be installed
session context was:(profile=C__Program Files_eclipse_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.cdt,9.2.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.build.gcc.core,1.0.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.codan.checkers,3.2.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.codan.checkers.ui,3.2.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.codan.core,4.0.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.codan.core.cxx,3.4.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.codan.ui,3.2.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.codan.ui.cxx,3.3.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.core,6.2.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.core.native,5.10.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.core.win32,5.4.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.core.win32.x86_64,5.4.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.debug.core,8.1.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.debug.ui,8.1.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.doc.user,5.4.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.dsf,2.8.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.dsf.gdb,5.2.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.dsf.gdb.ui,2.6.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.dsf.ui,2.5.0.201703062208
No repository found containing: org.eclipse.update.feature,org.eclipse.cdt,9.2.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.gdb,7.0.0.201703062208
No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gdb,9.2.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.gdb.ui,7.0.0.201703062208
No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gnu.build,9.2.1.201703062208
No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gnu.debug,9.2.1.201703062208
No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.gnu.dsf,9.2.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.launch,9.1.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.make.core,7.3.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.make.ui,7.3.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.managedbuilder.core,8.4.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.managedbuilder.gnu.ui,8.3.0.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.managedbuilder.ui,9.0.0.201703062208
No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.native,9.2.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.native.serial,1.0.0.201703062208
No repository found containing: org.eclipse.update.feature,org.eclipse.cdt.platform,9.2.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.cdt.ui,6.1.0.201703062208
No repository found containing: binary,org.eclipse.cdt_root,9.2.1.201703062208
No repository found containing: osgi.bundle,org.eclipse.launchbar.core,2.1.0.201612052026
No repository found containing: osgi.bundle,org.eclipse.launchbar.ui,2.1.0.201612052026
No repository found containing: osgi.bundle,org.eclipse.tm.terminal.control,4.2.0.201609191434
No repository found containing: osgi.bundle,org.eclipse.tools.templates.core,1.1.0.201702141301
No repository found containing: osgi.bundle,org.eclipse.tools.templates.ui,1.1.1.201702141301

 

需要在

 

这个地方不要不要不要勾选contact all update sites。

 

以上是关于eclipse搭建android开发环境的主要内容,如果未能解决你的问题,请参考以下文章

Eclipse下搭建Android的NDK开发环境

Linux怎么搭建Android开发环境

eclipse开发Android必备环境搭建

eclipse中搭建Android开发环境

如何在mac上搭建android开发环境

软件工程第二次作业