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
android android-studio android-gradle android-support-library


source to share


No one has answered this question yet

Check out similar questions:

168
How do I get ConstraintLayout to work with percentage values?
67
Android Studio not showing layout preview
nineteen
Android studio does not generate layout preview
4
Rendering issues: Android Studio 1.2.1.1 and Gradle 1.2.3
2
Why is there no preview in Android Studio for \ res \ menu \ main.xml?
2
Android v4 22.2.0 support cannot resolve FragmentActivity
2
android support library 26.0.0-beta2 preview error in android studio
1
Couldn't find any android.support.v4.widget file in Android Studio
1
Android Studio display issues-: Can't find drawer layout
1
android.support.v4.widget.DrawerLayout not executing in Android Studio



All Articles
Loading...
X
Show
Funny
Dev
Pics