Can any one tell me that how to set android L environment in eclipse.I updated my sdk tools to 24.1.2. And i downloaded sample code from here and then i got errors called The import android.support.v7.widget.RecyclerView cannot be resolved can any one tell me how to setup android L environment in eclipse
Asked
Active
Viewed 171 times
0
-
take a look at my answer http://stackoverflow.com/a/29252642/4290431 @RD – Pooja Mar 27 '15 at 09:50
1 Answers
0
- Right click in your project -> Properties
- In the tab libraries, click in "Add External Jars"
- Select "android support v7" and "RecyclerView" jars.
Paths:
path-to-android-sdk/extras/android/support/v7/appcompat/libs/android-support-v7-appcompat.jar
,
android-sdk/extras/android/support/v7/recyclerview/libs/android-support-v7-recyclerview.jar
- Go to tab "Order and Export", check the two jars, click in ok
- Add this import to your activity:
import android.support.v7.widget.RecyclerView;
- Try to build your project again!

Antonio Oliveira
- 73
- 9