-1

哟!

我正在制作一个工作按钮,我从 youtube 视频中获得了帮助和提示,但是我在我的清单中遇到了一个错误,我无法停止。这是代码中 android 清单的结尾

    </activity>
     <activity android:name="com.tssandroid.phone.buttonOne"
              android:label="@string/app_name">
        <intent-filter>
          <action android:name="com.tssandroid.phone.TUTORIALONE" />
          <cetegory android:name="android.intent.category.DEFAULT" />
        <intent-filter>
    </activity>
</application>

4

1 回答 1

1

你的代码:

<intent-filter>
    <action android:name="com.tssandroid.phone.TUTORIALONE" />
    <cetegory android:name="android.intent.category.DEFAULT" />
<intent-filter>

<intent-filter>没有结束标签。

应该:

<intent-filter>
    <action android:name="com.tssandroid.phone.TUTORIALONE" />
    <cetegory android:name="android.intent.category.DEFAULT" />
</intent-filter> 

PS:你的问题很糟糕。下次包括错误或更清楚地说明问题。

于 2013-03-10T20:01:34.990 回答