0

Below is the error showing in Graphical View.

Exception raised during rendering:

com/google/android/gms/ads/AdView : Unsupported major.minor version 51.0
Exception details are logged in Window > Show View > Error Log

I have installed latest SDK.and Google Play Service Library is of revision 18. Is it related to jre or JDK version?

I am new to Eclipse. I searched on Google but nothing helped. there is same question posted here but no one has answered. any help will be highly appreciated!

Community
  • 1
  • 1
Programmer
  • 878
  • 2
  • 11
  • 24

1 Answers1

0

I bet you are using Java JDK 1.6.

You have to go to Eclipse -> Window -> Preferences -> Java -> Compiler and set compiler to 1.7. Ofcourse you must have Java JDK 1.7 installed. If you don't, install it and the problem will dissappear.

At least that was the case with me.

I hope it helps!

Nick
  • 1,393
  • 1
  • 14
  • 22
  • Thanks for reply but I am new to Linux. and once I tried to install jdk 1.7 and setting compiler to 1.7 but the problem was still there. – Programmer Dec 04 '14 at 09:26