When i was figuring out Material Style, I missed the part where I had to add the support library dependency for Card View.Instead i used a simple tag. 

It didn't raise and error and even the design preview showed cards in it. But when I ran the app on my android device, it crashed and gave an error:

> 
> "Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.CardView" on path: DexPathList[[zip file "/data/app/com.mycompany.myfirstapp-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
>  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)"
> 
> 
> 

My Android Studio is up to date, so why am I getting this error?
Are there any additional APIs that I am missing and i need to download?

Thanks.