我正在製作一個基本的自定義啓動器,方法是按照網站上給出的說明進行操作......說明指出該應用程序可以啓動,但是當我嘗試時,出現錯誤說明默認找不到活動。Android - 無法找到默認活動
我研究了關於堆棧溢出的現有問題,但沒有人幫助我。我的清單是這樣的...
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="omg_its_azzler.launcher">
<activty>
<application android:allowBackup="true"
android:name="omg_its_azzler.launcher.HomeActivity"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen"
android:launchMode="singleTask"
android:stateNotNeeded="true"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.HOME"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activty>
<activity>
android:name="omg_its_azzler.launcher.AppsActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
</activity>
</manifest>
請檢查活動的拼寫。你好像拼錯了兩次。也許錯誤是由於這個。 – Abhi
謝謝......但仍然無法正常工作......同樣的錯誤... – Azzler
請正確粘貼清單。你已經把一個標籤應用放在一個標籤活動中......這是我第一次看到類似的東西。 –