[英]Including recyclerview library in Eclipse project (can't see the library project to include in my project)
I'm trying include v7 recyclerview library in my application project. 我正在尝试在我的应用程序项目中包含v7 recyclerview库。
I followed these steps https://developer.android.com/tools/support-library/setup.html#add-library 我按照以下步骤https://developer.android.com/tools/support-library/setup.html#add-library
I imported v7 recyclerview library using Import Existing Android Code Into Workspace and included ndroid-support-v7-recyclerview.jar file to the build path . 我使用导入现有的Android代码导入工作区进口V7 recyclerview库和包括 ndroid支持-V7-recyclerview.jar 文件添加到构建路径 。
But when I'm trying to include the library to my project after clicking the add button there is no library to include: 但是当我在单击添加按钮后尝试将库包含到我的项目中时,没有要包含的库:
From Android developer site: 来自Android开发者网站:
Add the library to your application project: 将库添加到您的应用程序项目:
In the Project Explorer, right-click your project and select Properties. 在Project Explorer中,右键单击项目,然后选择“属性”。
In the category panel on the left side of the dialog, select Android. 在对话框左侧的类别面板中,选择Android。
Make sure the recyclerview library is marked as "Library" in Project Properties -> Android -> Is Library (checked) . 确保在Project Properties - > Android - > Is Library(选中)中将recyclerview库标记为“Library”。 Once it's marked you will be able to see it in the list when you press Add button.
标记后,当您按“ 添加”按钮时,您将能够在列表中看到它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.