0

So I'm starting Android App development. I've got a Nexus 6P running Android N and Android Studio is all setup and my phone is in debugging mode but when I "Run app" in Android Studio, I get these sort of errors:

Error:java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0

The full log can be found here: http://pastebin.com/raw/kzxdqdwB

joexn
  • 15
  • 7

2 Answers2

0

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.

Refer this link

enter image description here

Community
  • 1
  • 1
madhan kumar
  • 1,528
  • 2
  • 23
  • 34
0

I was running and old version of JDK

joexn
  • 15
  • 7