Android studio not rendering layout preview

后端 未结 8 956
Happy的楠姐
Happy的楠姐 2020-12-05 07:33

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

相关标签:
8条回答
  • 2020-12-05 08:16

    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.

    0 讨论(0)
  • 2020-12-05 08:19
    • Clean Project
    • Rebuild project
    • Sync Gradle
    • Press update layout preview button

    Or

    in your XML file press right click and mark as XML.

    that should work.

    0 讨论(0)
提交回复
热议问题