依次添加以下三个文件后导入项目即可作为一个工程:
//////////////////////////////////////////////////////////////////////////
.project文件如下:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ProjectName</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
//////////////////////////////////////////////////////////////////////////
.classpath文件如下:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
//////////////////////////////////////////////////////////////////////////
project.properties文件如下:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.
# Project target.
target=Google Inc.:Google APIs:8
或:
target=android-8
//////////////////////////////////////////////////////////////////////////
分享到:
相关推荐
已struts 2 源码 导入eclipse工程
将此文件下载后解压,导入eclipse中就可以进行二次开发了。(程序入口:Jmeter/src/core/org/apache/jmeter/NewDriver.java)
将Android_SystemUI源码工程导入Eclipse编将Android_SystemUI源码工程导入Eclipse编译
zookeeper 源码导入eclipse时下载的cache包等文件 ant eclipse时需要下载的内容 放到用户目录下即可 .ant
tomcat 导入eclipse 工程源码。
Tomcat源码直接导入eclipse
gradle编译好的spring源码,直接导入eclipse用
hibernate 源码直接导入Eclipse
tomcat8源码研究, 直接导入eclipse即可使用,无bug,
Mybatis源码可直接导入eclipse;Mybatis源码可直接导入eclipse;Mybatis源码可直接导入eclipse;Mybatis源码可直接导入eclipse;
spring最新版本源码,使用gradle工具构建的,可导入eclipse直接查看
tomcat-7.0.x源码,直接导入eclipse就行了,依赖的jar包已经下载好了,如果差一个ant.jar,你直接定位到ant安装目录下lib包下
spring源码及jar包,可直接导入eclipse
android browser 源码直接导入eclipse中可以使用,附带流程图解,导入eclipse中直接可以使用,缺少的库文件都补上了,位置可能需要自己修改一下
Tomcat7.0源码,可以直接导入eclipse运行。不需要再做任何配置
最近想深入的研究一下spring源码,昨天心血来潮从网上文章找到将spring源码导入eclipse中方法,但是下载下来的源码还需处理生成,其中两大难点,第一:处理时间长,大概用掉我5个小时。第二:中途会遇到各种问题。...
eclipse怎么导入已有源码 下面开始介绍导入源码的方法。 ◎选择菜单“文件/新建/项目”,选择“Java项目”,弹出“创建Java项目”对话框。 ◎在“创建Java项目”中输入“项目名”,项目名可以为任意名字,不必和...
如何把SpringFramework 3.2.2源码导入Eclipse
openfire 4.0.0 源码 导入 eclipse 做二次开发, 网上的列子大多不好实现. 我这个包看包会.
利用ant编译tomcat源码,然后导入到eclipse中进行源码解读