将 Ivy 管理的依赖项添加到 Android 构建路径
使用 Eclipse 和 Ivy,我能够成功下载和管理依赖项。这些依赖项使用 IvyDE 容器。
但是,Android 找不到依赖项。作为解决方法,我必须手动将每个 Ivy 管理的依赖项添加到构建路径中。
有更干净的方法吗? IvyDE 可以配置 Android 吗?
Using Eclipse and Ivy, I'm successfully able to download and manage dependencies. These dependencies are added to Eclipse's build path using IvyDE's container.
However, Android does not find the dependencies. As a workaround, I have to add each Ivy-managed dependency to the build path manually.
Is there a cleaner approach? Can IvyDE be configured with Android in mind?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
更新到最新版本的 ADT(撰写本文时为 r16)已解决的问题。
Updating to the latest version of ADT (r16 at the time of writing) has solved the issue.
不是Android开发人员,所以没有具体的解决方案。
我建议您调查 ivy 的 artifactreport 任务。它生成一个 XML 文件,您也许可以使用该文件自动生成构建路径。
Not an Android developer, so don't have a specific solution.
I could suggest that you investigate ivy's artifactreport task. It generates an XML file, which perhaps you could use to automatically generate the build path.