---
title: "android 工程引用"
author: "kakukemeit"
date: "2013-02-20T19:29:22Z"
tags: []
slug: "android"
draft: false
lastmod: "2013-02-20T19:29:22Z"
id: 1806456
url: "https://kakukemeit.iteye.com/blog/1806456"
---

project.properties中添加下面这句，会自动引用相关工程：

 

android.library.reference.1=../baseworld

导入别人的项目时，工程中不自动生成Android Dependencies的解决方式

[http://blog.csdn.net/encienqi/article/details/7847858](http://blog.csdn.net/encienqi/article/details/7847858)

 

.classpath中，如果调整classpathentry的顺序，会改变工程相应的顺序；

 

&lt;?xml version="1.0" encoding="UTF-8"?&gt;  
&lt;classpath&gt;  
   
 &lt;classpathentry kind="src" path="src"/&gt;  
 &lt;classpathentry kind="src" path="gen"/&gt;  
 &lt;classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID\_FRAMEWORK"/&gt;  
 &lt;classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/&gt;  
 &lt;classpathentry kind="output" path="bin/classes"/&gt;  
   
 &lt;classpathentry kind="lib" path="libs/AppOffer\_1.6.6.jar"/&gt;  
 &lt;classpathentry kind="lib" path="libs/alipay\_plugin.jar"/&gt;  
 &lt;classpathentry kind="lib" path="libs/AndroidAnalyticSDK3.2.1.jar"/&gt;  
&lt;/classpath&gt;