android.support.v7.widget.cardview cannot be found -
i'm using android studio 1.2.2 , attempting use cardview in layout, preview giving me warning class android.support.v7.widget.cardview not found. question has been asked various times, , have looked @ these solutions: error when adding cardview layout android.support.v7.widget.cardview not found (android studio 1.1 preview) but none of them have answer. have added gradle: dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:cardview-v7:21.0.+' } and have added layout: xmlns:card_view="http://schemas.android.com/apk/res-auto" which pretty sums answers given on 2 similar questions asked, still getting same error, , when run on device, cardview doesn't show @ all. can point out other possible solutions? by way, minsdkversion 21. layout: <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:card_view="http://schemas.android.com/apk/