Bitte verwenden Sie dies, um die Fehler in Ihrer XML -Datei zu entfernen. Erstellen Sie auch eine Klasse gemäß der Nachricht. Aktualisieren Sie Ihre Manifestdateien entsprechend und teilen Sie Ihre Fehlermeldungen dann an ...
Um Ihnen weiter zu helfen, habe ich eine Klassendatei für Sie erstellt: Banner.java ===> Dies wird die Fehler beseitigt
public class Banner extends View {
public Banner(Context context) {
super(context);
// TODO Auto-generated constructor stub
}
}
<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"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
<com.startapp.android.publish.banner.Banner
android:id="@+id/startAppBanner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignRight="@+id/next"
android:layout_marginBottom="14dp" >
</com.startapp.android.publish.banner.Banner>
</RelativeLayout>