-
Solution To: Error "the following classes could not be found android.support.v7.widget.cardview"
-
This error may occur if you add a cardview widget in layout file without adding the compile class reference in the build.gradle
1) Add the codes "compile 'com.android.support:cardview-v7:21.0.+'" to the dependencies section of the file build.gradle (module:app)
2) Rebuild your project.
-
0 Comments