这是我的 xml 错误报告
The following classes could not be instantiated:
- com.inmobi.androidsdk.IMAdView (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.
Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse
main.xml 的代码是这样的
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<com.inmobi.androidsdk.IMAdView
android:id="@+id/imAdview"
android:layout_width="320dp"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
adSize="15"
appId="a521d7b121144753a4709e018826c487" />
这里没有问题,为什么我会收到这个错误,建议一些解决方案。谢谢