android studio layout预览出错

Rendering Problems

Failed to load the Layoutlib:com/android/layoutlib/bridge/Bridge:Unsupported major.minor version 52.0

以上错提示表示版本号不支持,调低版本号即可.如API24调成API23

JDK版本1.7的问题 编译出错  

build.gradle中调低版本 从24.2.1 调成23.2.1

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.1'
原文地址:https://www.cnblogs.com/clarklxr/p/5923079.html