I want to use CardView in my project, but when I run my application, I get the following error. I\'m using Eclipse.
Error: Error inflating clas
This solution work on me.
1- Go to "sdk\extras\android\m2repository\com\android\support\recyclerview-v7*22.1.1*" ( 22.1.1 latest version for now. )
2- Open recyclerview-v7-22.1.1.aar file with Winrar.
3- There is a jar file named classes.jar. Copy that to your project libs folder.
4- Right click classes.jar, add to build path.
Thats it.