【问题标题】:ParseError at [row,col]:[12,337][row,col] 处的 ParseError:[12,337]
【发布时间】:2021-08-09 10:24:52
【问题描述】:

即使我的 manifest.xml 文件中没有错误,我在 Android Studio 中也遇到了以下错误。任何人,请解决我的问题。

ParseError at [row,col]:[12,337]

留言:http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributeNSNotUnique?RelativeLayout&layout_width&http://schemas.android.com/apk/res/android

这是我的清单文件

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

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

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.TTTBackup">
        <activity android:name=".Code"></activity>
        <activity android:name=".Game" />
        <activity android:name=".Menu" />
        <activity android:name=".Splash">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

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

</manifest>

【问题讨论】:

  • 这不是来自清单。您是否有使用了相对布局或布局标签的布局?
  • 您发布的所有代码都在 标签内?
  • 问题解决了。

标签: android xml android-studio android-layout


【解决方案1】:

我在我的应用程序中遇到了同样的问题。 它基本上是一个 xml 异常。 在我的情况下,当我从我用于数据绑定的“

【讨论】:

    猜你喜欢
    • 2017-03-21
    • 1970-01-01
    • 2021-06-21
    • 1970-01-01
    • 1970-01-01
    • 2018-12-19
    • 1970-01-01
    • 2021-09-17
    • 1970-01-01
    相关资源
    最近更新 更多