更新时间:2022-06-15 19:40:38
您做有程序包不匹配错误,它必须为:
You do have a package mismatch error, it needs to be:
package="com.haber29.android.reader"
由于 reader
是下一个子程序包,而 this 是包含活动"的子程序包.
Since reader
is the next subpackage and this is the subpackage that contains the Activities.
别忘了,您可以为每个活动指定完全限定的名称,以免引起混淆:
And don't forget, you can specify the fully qualified name for each Activity, to prevent confusion:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.haber29.android"
android:versionCode="3"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="7" />
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name">
<activity
android:name="com.haber29.android.reader.ITCutiesReaderAppActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.haber29.android.reader.ItemDescriptionActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
</application>
</manifest>