2013-03-10 66 views
-1

YO!Android清单意图过滤错误?

林做工作按钮,我得到的帮助和提示,从YouTube视频,但IM得到一个错误的IM我的清单,我不能SUS-了..继承人的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> 

回答

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:是非常糟糕形成你的问题。下一次包括错误或更清楚的问题。

+0

欢呼声m8,抱歉不清楚 – user2154615 2013-03-11 17:33:39