kas*_*sai 5 eclipse layout android adview
我从Eclipse Helios更新到Eclipse Juno,将Android SDK工具更新到v23,以及Google Play lib 4.4.
由于他们我无法在eclipse图形布局窗口中查看XML布局.我得到以下错误.
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
Run Code Online (Sandbox Code Playgroud)
错误日志
Could not create the view: org.eclipse.pde.runtime.LogView
Run Code Online (Sandbox Code Playgroud)
该错误仅显示我在布局中添加Google AdView XML时,其他明智的图形布局工作正常.
<?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>
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激.
| 归档时间: |
|
| 查看次数: |
2021 次 |
| 最近记录: |