"Konnte nicht gefunden Stil mit id 0x7f070001 in aktuellen Thema" wenn die CardView android L (api 21)

Habe ich gerade heruntergeladen und angefangen zu lernen-android L material design-api. Immer wenn ich CardView in meine Tätigkeit, es gibt mir diese Fehlermeldung Failed to find style with id 0x7f070001 in current theme.

Dies ist mein xml-layout :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res/com.flip.tesla"
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="com.flip.tesla.MainActivity$PlaceholderFragment" >

<android.support.v7.widget.CardView
    android:layout_width="match_parent"
    android:layout_height="200dp"
    app:cardElevation="10dp" >

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hello World"
        android:textSize="15sp" />
</android.support.v7.widget.CardView>

</RelativeLayout>

Und dies ist mein manifest-Datei :

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.test"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="21" />

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name=".MainActivity"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

- und das ist die genaue Meldung zeigt es :

Fehlt Stile.
Ist das richtige Thema ausgewählt für dieses layout?
Verwenden Sie das Design combo-box oberhalb des Layouts auf ein anderes layout auszuwählen, oder fixieren Sie das Thema Stil verweist.

Konnte Stil mit id 0x7f070001 in aktuellen Thema

EDIT : Also habe ich neu gestartet eclipse-das ist die neue Nachricht, die er zeigt.

Ausnahme wurde während der Darstellung: Kom.android.layoutlib.Brücke.MockView kann nicht gewirkt werden, um android.Blick.ViewGroup
Ausnahmedetails angemeldet sind Fenster - > Show View - > Fehler Melden
Die folgenden Klassen können nicht instanziiert werden:
- android.Unterstützung.v7.- widget.CardView

irgendwelche Ideen auf, was es bedeutet?

InformationsquelleAutor Nikhil Jain | 2014-10-29
Schreibe einen Kommentar