0

enter image description here

I can not build the apk and I can not run the code in emulator I don't know why but It doesn't work please help me.

GuilhE
  • 11,591
  • 16
  • 75
  • 116
HasanBal
  • 11
  • 1

1 Answers1

1

The version number is the version of the JRE that the class file is compatible with (see this question for more info). Version 52 is Java 8 so you need to make sure you have a Java 8 JDK installed and that Android Studio is using it.

Instructions on setting your JDK up in Android Studio can be found here.

Community
  • 1
  • 1
James McCracken
  • 15,488
  • 5
  • 54
  • 62