旧项目中的Twitter问题



昨天我得到了一个旧项目,当我试图编译项目,我得到以下错误

属性缺少Android命名空间前缀

 <activity android:name="net.mxxxx.xxxxx.twitter.AuthTwitter" android:launchMode="singleTask" android:screenOrientation="portrait">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data host="twitterAuth" android:scheme="xxxxxx" />
        </intent-filter>
    </activity>

最小SDK是"7",我把它增加到13,请帮助为什么会发生错误

真正的问题是为什么它之前没有抱怨。修改一下:

<data host="twitterAuth" android:scheme="xxxxxx" />

<data android:host="twitterAuth" android:scheme="xxxxxx" />

最新更新