错误:属性名称" xmlns:"与元素类型相关联"清单"必须遵循' ='字符

时间:2016-02-21 13:45:01

标签: android android-manifest

Error:Attribute name "xmlns:" associated with an element type "manifest" must be followed by the ' = ' character.

我刚开始制作游戏,所以我不清楚它为什么会发生。当我创建我之前的游戏时,我几乎没有错误的类似清单文件。

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

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

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

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name="com.snappik.memorise.MemoriaStart"
        android:label="@string/app_name"
        android:screenOrientation="portrait"
        android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
    <activity
        android:name="com.snappik.memorise.MemoRiseActivity"
        android:configChanges="keyboardHidden|orientation|screenSize"
        android:label="@string/app_name" />
    <activity
        android:name="com.snappik.memorise.MemoRiseActivityMedium"
        android:configChanges="orientation"
        android:label="@string/app_name" />
    <activity
        android:name="com.snappik.memorise.MemoRiseActivityHard"
        android:configChanges="orientation"
        android:label="@string/app_name" />
    <activity
        android:name="com.snappik.memorise.DifficultController"
        android:configChanges="orientation"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.Settings"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.Records"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordPoint"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordTime"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordsMedium"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordsPointMedium"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordsTimeMedium"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordsHard"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordsPointHard"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordsTimeHard"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
    <activity
        android:name="com.snappik.memorise.RecordController"
        android:label="@string/app_name"
        android:screenOrientation="portrait" />
</application>

1 个答案:

答案 0 :(得分:1)

您的清单文件是否被标记包围?

!