Android Studio preview window does not display anything if appcompat or support v4 is present

I am using Android Studio 1.2.1.1, Gradle plugin version 1.2.3, Android sdk tools 24.3.1, platform 22 tools, 22.0.1 build tools

Now the problem is that everything is messed up, I don't remember what my previous configuration was, but in the xml preview window everything is used for rendering.

In this new configuration, the preview window does not show any v4 support widget view like drawer layout, scrolling refresh layout, etc. And it would be nice if he just left them and left the rest, but not even the device is displayed.

enter image description here

Also, Android Studio can import the App and App Compatibility Library, although I have commented out the dependencies in the gradle.build file (yes I am synced and rebuilt after commenting out).

enter image description here

enter image description here

it is very difficult to do anything without a preview.

+3


source to share





All Articles