Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio SDK 27.1.0 CardView Render Issue

Render problem Failed to find style 'cardViewStyle' in current theme Tip: Try to refresh the layout.

Missing styles Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.

Cardview render correctly in SDK 26.1.0,27.0.1,27.0.2

enter image description here enter image description here

like image 968
Kishan Gohel Avatar asked Mar 07 '18 06:03

Kishan Gohel


1 Answers

Try converting gradle to this:

implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'

I had the same issue and this worked for me.

like image 189
D. Beard Avatar answered Nov 10 '22 20:11

D. Beard