XML Rendering errors Android preview N

感情迁移 提交于 2019-11-27 03:47:47

This is bug in Android Studio. Usually you get error: Unsupported major.minor version 52.0

WORKAROUND: If you have installed Android N, change Android rendering version with older one and the problem will disappear.

SOLUTION: Install Android SDK Tools 25.1.3 (tools) or higher

Pratik Butani AndroidDev

NEW SOLUTION:

After Updating Android SDK Tools 25.1.3 It will remove automatically that bug.

Update your SDK Tools.

OLD SOLUTION:

I got same problem after updating sdk with

I think there is some bug in API level N, I really appreciate the answer of Ivo Stoyanov but I found another solution that is:

First of all I have change Android Version to use when Rendering layout in IDE with API 23: Android 6.0

Now Error is gone away. I don't know exactly why but Now Its doesn't seems to me.

Thank you :)

It cause while rendering version is Andorid API 23: AndroidN(Preview). Need to change it . It is a Issue 203683: Unsupported major.minor version 52.0

TrickyJ

I had similar kind of error. I followed the steps mentioned above. I changed the preview version to older version and it worked.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!