样式包含具有错误条目的键:0x01010479(Android Studio)

样式包含具有错误条目的键:0x01010479(Android Studio),android,xml,android-studio,android-theme,Android,Xml,Android Studio,Android Theme,我刚刚创建了一个新的Android Studio项目,我厌倦了在我的Android手机上运行默认项目。 当我运行该项目时,我得到一个错误信息: 样式包含具有错误条目的键:0x01010479 我厌倦了查找这个错误,人们说它与主题有关 我使用的手机Android版本是4.0.4 用于布局xml页面。我使用的是API 14,Android 4.0 对于主题,我使用全息。全息主题没有出现在我的手机上,但它成功地显示了“hello world” value/styles.xml: value-v2

我刚刚创建了一个新的Android Studio项目,我厌倦了在我的Android手机上运行默认项目。 当我运行该项目时,我得到一个错误信息:
样式包含具有错误条目的键:0x01010479
我厌倦了查找这个错误,人们说它与主题有关

我使用的手机Android版本是4.0.4

用于布局xml页面。我使用的是API 14,Android 4.0 对于主题,我使用全息。全息主题没有出现在我的手机上,但它成功地显示了“hello world”

value/styles.xml:


value-v21/styles.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="AppTheme" parent="android:Theme.Material.Light">
    </style>
</resources>

舱单:

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MyActivity"
            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>

我对默认的“Hello World”项目所做的更改是(API 14,Android 4.0)和(Holo主题)。我的其他Android项目也有同样的错误。有人知道我为什么会犯这个错误吗? 让我尝试更新我的SDK,我希望这会有所帮助


解决方案:我更新了我的SDK,问题解决了

您可以忽略此错误,除非某些内容没有以您喜欢的方式显示

退房:

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MyActivity"
            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>