0

I have started new a project (blank) in Android Studio . When I preview a layout, render is failed with error "Unsupported major.minor version 52.0" . Please help me!

Son Nguyen
  • 3
  • 1
  • 2
  • I found that "Unsupported major.minor version 52.0 comes when you are trying to run a class compiled using Java 1.8 compiler into a lower JRE version e.g. JRE 1.7 or JRE 1.6. Simplest way to fix this error is install the latest Java release i.e. Java 8 and run your program." My java JRE is 1.7.0.45 – Son Nguyen Mar 22 '16 at 05:12
  • @KrishnaMeena : Yes, I changed preview with Android 6.0 and issue resolved. Many thanks! – Son Nguyen Mar 22 '16 at 05:46

1 Answers1

2

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

enter image description here

crashOveride
  • 839
  • 6
  • 12