我正在制作一个基本的自定义启动器,方法是按照网站上给出的说明进行操作......说明指出该应用程序可以启动,但是当我尝试时,出现错误说明默认找不到活动。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
请正确粘贴清单。你已经把一个标签应用放在一个标签活动中......这是我第一次看到类似的东西。 –