Please check out my post on GitHub: https://github.com/lt-tibs1984/CardViewLibrary. Here you will learn how to accept this project and use the downloaded SDK for CardView. I will update this tonight as much as I can.
In fact, the problem is that when you unzip a zip file and import only a jar file, you do not have the resources associated with the map view.
Just download my zip file, import it as existing code into the workspace, and then add classes.jar as a library dependency!
Directions are available at read me.
Refresh
The original draft for this answer is still not relevant, or still exists.
To use Cardview in your project,
add
implementation 'com.android.support:cardview-v7:28.0.0'
or when using androidx:
implementation 'androidx.cardview:cardview:1.0.0'
into your build.gradle application
source share