Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Failed to load platform rendering library

I have a project started from scratch on Android Studio. The layout editor was working fine. After adding the Google Play Services library, now when I open my layout XML file I get the following error in the Design tab: "Rendering Problems: Failed to load platform rendering library"

In the Text tab, all the attributes for my TextView components have a warning "Unknown attribute android:[...]" where [...] is the attribute being declared.

Anybody know how to fix this issue?

like image 203
Wild Pete Avatar asked Jun 20 '13 16:06

Wild Pete


1 Answers

Just want to add an answer that worked for me: Changed the version of the preview from N to 23, like so:

enter image description here

like image 79
Dima Sv Avatar answered Jun 27 '23 17:06

Dima Sv