如何在eclipse中将commonsware TouchListView(tlv)库添加到android项目中
我尝试添加commonsware TouchListView库(https://github.com/commonsguy/cwac-touchlist) 到我的 eclipse 中的 android 项目,但我不知道如何。
有人可以帮助我吗?
I try to add the commonsware TouchListView library (https://github.com/commonsguy/cwac-touchlist) to my android project in eclipse but I don't know how.
Somebody can help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不打算在 Android 开发工具的 r15 版本之前正式支持 Eclipse 的 CWAC 组件,因为 Eclipse 中的 Android 库项目支持目前正在不断变化,特别是随着 Android 开发工具 r14 版本中推出的更改开发工具。
原则上,您需要使用 Android 新项目向导“从现有源”创建一个新的 Android 项目。然后,检查项目属性的 Android 部分,确保其被标记为库项目。然后,您可以通过该项目的属性将其作为库添加到其他项目中。有关这些步骤的更多详细信息,请参阅Android 开发人员文档。
I am not planning on formally supporting Eclipse for the CWAC components until probably the r15 version of the Android Development Tools, as Android library project support in Eclipse is in flux at the moment, particularly with the changes rolled out in the r14 edition of the Android Development Tools.
In principle, you will need to create a new Android project "from existing sources" using the Android new-project wizard. Then, check the Android section of the project properties to ensure that it is marked as being a library project. Then, you can add it as a library to some other project via that project's properties. More details on those steps can be found in the Android developer documentation.