清单不是很好

时间:2014-09-15 17:04:24

标签: android xml manifest

我的清单有问题,有人可以提供帮助吗? 它显示了“描述资源路径位置类型” 根元素之前的文档中的标记必须格式正确。 AndroidManifest.xml / WrotaDziekanatu第1行Android XML格式问题'

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

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

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="com.example.wrotadziekanatu.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>
    <activity
        android:name="com.example.wrotadziekanatu.DisplayAuthorActivity"
        android:label="@string/title_activity_display_author" 
        android:parentActivityName="com.example.wrotadziekanatu.MainActivity" >
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value="com.example.wrotadziekanatu.MainActivity"/>     
    </activity>
    <activity
        android:name="com.example.wrotadziekanatu.Otwarty"
        android:label="@string/title_activity_otwarty" 
        android:parentActivityName="com.example.wrotadziekanatu.MainActivity" >
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value="com.example.wrotadziekanatu.MainActivity"/>     
    </activity>
    <activity
        android:name="com.example.wrotadziekanatu.Zamkniety"
        android:label="@string/title_activity_zamkniety" 
        android:parentActivityName="com.example.wrotadziekanatu.MainActivity" >
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value="com.example.wrotadziekanatu.MainActivity"/>     
    </activity>
    <activity
        android:name="com.example.wrotadziekanatu.Przerwa"
        android:label="@string/title_activity_przerwa" 
        android:parentActivityName="com.example.wrotadziekanatu.MainActivity" >
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value="com.example.wrotadziekanatu.MainActivity"/>     
    </activity>
    <activity
        android:name="com.example.wrotadziekanatu.Wewnetrzny"
        android:label="@string/title_activity_wewnetrzny" 
        android:parentActivityName="com.example.wrotadziekanatu.MainActivity" >
        <meta-data
            android:name="android.support.PARENT_ACTIVITY"
            android:value="com.example.wrotadziekanatu.MainActivity"/>     
    </activity>

    </application>
</manifest>

1 个答案:

答案 0 :(得分:2)

删除<<<<<<< Original