Solution To: Error Class Not Found Widget.CardView

Solution To: Error "the following classes could not be found"
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 ''" to the dependencies section of the file build.gradle (module:app)

2) Rebuild your project.


Post a Comment