I\'ve been using Android Studio 0.8.6 to develop apps and am having problems with the layout preview when using API21. I get the following error:
Rend
Try unselecting "Automatically pick Best" in the Preview pane and select an older API when you view your layout XML. This is located in the menu bar where you select the device and theme you want your preview to use, all the way on the right.
Or
in your XML file press right click and mark as XML.
that should work.