I upgraded Eclipse Helios to Eclipse Juno, upgraded the Android SDK tools to v23 and the Google Play lib 4.4.
Since then I can not view XML layouts in the eclipse graphic layout window. I get the following error.
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
Error log
Could not create the view: org.eclipse.pde.runtime.LogView
The error is only displayed if I add the Google AdView XML code to the layout, and another wise graphic layout works fine.
<?xml version="1.0" encoding="UTF-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:ads="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" > <com.google.android.gms.ads.AdView android:id="@+id/adView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" ads:adSize="BANNER" ads:adUnitId="xxxxxxxxxxxxxxxxxxxxxxxx" /> </RelativeLayout>
Any help would be appreciated.
kasai source share