wea*_*ire 2 ant android android-build
我有2个项目(源代码).项目A是未编译的库,项目B使用该库.我想用ant编译它.我正在使用android更新来设置.
android update lib-project --target 2 --path c:\ Android-Build\A.
android更新项目--target 2 --path c:\ Android-Build\B --library ..\A.
在项目B的libs文件夹中,我什么都没有.我正在使用的所有库都在库(A)上.使用eclipse一切正常.
我怎么能用ant编译呢.
ant debug throw错误.库(A)首先编译(生成bin和gen文件夹).
但是当来到项目B来获取编译时无法从库中找到导入.如何告诉ant在构建过程中将库包含到项目B中?TY.
[javac] C:\ Android-Build\B Activity.java:7:错误:找不到符号[javac] import com.aA;
*更新**
project.properties 对于项目B.
android.library.reference.1=..\\A
# Project target.
target=Google Inc.:Google APIs:13
Run Code Online (Sandbox Code Playgroud)
project.properties 对于项目A.
target=Google Inc.:Google APIs:13
Run Code Online (Sandbox Code Playgroud)
\\似乎是正确的,因为如果我将其更改为\ ant无法找到库
| 归档时间: |
|
| 查看次数: |
2099 次 |
| 最近记录: |