parseSdkContent failed Die Klasse android.graphics.Typeface konnte nicht initialisiert werden

Beim öffnen von layout-editor eclipse gibt diese Fehlermeldung:

parseSdkContent failed
Could not initialize class android.graphics.Typeface

Und wenn ich versuche zu laufen Projekt, es gibt diese Fehlermeldung :

An internal error occurred during: "Launching myapp".
java.lang.NullPointerException

Jedes mal bin ich immer diese Fehlermeldung und ich muss neu starten eclipse. Gibt es eine Lösung? Diese problem trat plötzlich von heute.


XML-Datei:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#66000000"
     >

    <RelativeLayout
        android:id="@+id/refresh_match_layout"
        android:layout_width="fill_parent"
        android:layout_height="150dp"
        android:layout_centerInParent="true"
        android:layout_margin="15dp"
        android:background="@drawable/app_detay_lay_bg"
        android:orientation="vertical"
        android:padding="10dp"
        android:visibility="visible" >

        <ImageView
            android:id="@+id/app_icon"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:padding="10dp"
            android:textColor="#ffffff"
            android:textSize="20sp" />

        <TextView
            android:id="@+id/app_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="8dp"
            android:textColor="#000000"
            android:layout_toRightOf="@+id/app_icon"
            android:layout_marginTop="2dp"
            android:textSize="20sp" />

        <ImageButton
            android:id="@+id/app_detail_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_alignParentBottom="true"
            android:layout_marginBottom="2dp"
            android:background="@null"
            android:src="@drawable/settings_detail"/>

        <ImageButton
            android:id="@+id/app_remove_button"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignLeft="@+id/app_icon"
            android:layout_alignTop="@+id/app_detail_button"
            android:background="@null"
            android:src="@drawable/settings_remove" />

    </RelativeLayout>

</RelativeLayout>

Fehler Bild:
parseSdkContent failed Die Klasse android.graphics.Typeface konnte nicht initialisiert werden

Kommentar zu dem Problem - Öffnen
Geschieht dies auf neue Projekte oder nur diese eine? Kommentarautor: Max McKinney
Haben Sie vor kurzem aktualisiert das SDK-tools oder ADT-plugin, wenn ja, überprüfen Sie es gibt keine updates für beide wieder Kommentarautor: Boardy
Dies geschieht nur in diesem Projekt und ich habe kein update, nichts. Zum Glück ist das jetzt. Kommentarautor: Lazy

InformationsquelleAutor der Frage Lazy | 2014-07-08

Schreibe einen Kommentar