你如何设置ant.properties了Android库的绝对路径? [英] How do you set the Android library absolute path in ant.properties?
本文介绍了你如何设置ant.properties了Android库的绝对路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我设置
android.library.reference.1=G\:Projects\Android\library\core\
在 ant.properties
,我收到以下错误,而建设:
in ant.properties
, I get the following error while building:
G\:Projects\Android\library\core\ resolve to a path with no project.properties
file for project G:\Projects\Android\library\test
路径是否正确,并执行该文件夹中包含project.properties文件。如何解决这个问题?难道Android的版本只需要在相对路径方面?
The path is correct, and the folder does contains project.properties file. How do I resolve this issue? Does android build only take in terms of relative path?
推荐答案
尝试使用Unix样式delimitters,'/'而不是'\',例如
Try using Unix style delimitters, '/' not '\' e.g.
workspace.dir=/dev/projects/EclipseIndigo/AndroidWorkTwo
以上线路为我工作在Windows
The above line works for me in Windows
这篇关于你如何设置ant.properties了Android库的绝对路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文