Android L Preview: RecyclerView cannot be resolved to a type error in Eclipce

If you get any problem with recycleview support library,follow the below steps to resolve the issue.

"recyclerview-v7” will be present in the following sdk directory "..\sdk\extras\android\m2repository\com\android\support".If it is not present follow below steps to download it.

  • Select the latest Android SDK Tools, Platform-tools, and Build-tools.
  • Select latest Android Support Library & Android Support Repository.
  • After updating Android Support Repository from SDK Manager go to..\sdk\extras\android\m2repository\com\android\support\recyclerview-v7\21.0.0-rc1
  • Unzip recyclerview-v7-21.0.0-rc1.aar
  • After unzipping recyclerview-v7-21.0.0-rc1.aar you will get classes.jar
  • rename classes.jar to recyclerView.jar for feature reference and add to your Android app under /lib folder