Android-Launcher应用程序在重新启动手机后中断
这是我的舱单:Android-Launcher应用程序在重新启动手机后中断,android,android-launcher,android-reboot,Android,Android Launcher,Android Reboot,这是我的舱单: <application android:allowBackup="true" android:icon="@drawable/toto" android:label="@string/app_name" android:theme="@style/AppTheme" android:process=":app_process"> <activity android:name=".core.Main
<application
android:allowBackup="true"
android:icon="@drawable/toto"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:process=":app_process">
<activity
android:name=".core.Main"
android:label="app_label"
android:launchMode="singleTask"
android:alwaysRetainTaskState="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="android.nfc.action.TECH_DISCOVERED" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.nfc.action.TECH_DISCOVERED"
android:resource="@xml/nfc_tech_filter" />
</activity>
<service android:name=".core.MessengerService"
android:enabled="true"
android:process=":app_process">
<intent-filter>
<action android:name="My_Messenger_Service"/>
</intent-filter>
</service>
<receiver
android:name=".core.BootReceiver"
android:enabled="true"
android:label="StartMyServiceAtBootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</application>
但是我没有找到我的发射器的任何错误日志。如何跟踪此错误
有人能帮我吗?谢谢,我添加了这个参数,效果很好
android:clearTaskOnLaunch="true"
android:clearTaskOnLaunch="true"