ProcessPhoenix icon indicating copy to clipboard operation
ProcessPhoenix copied to clipboard

random crash on Android 8.0.0

Open githubber2222 opened this issue 7 years ago • 4 comments

This crash happened now for first time, app is rolled out in play store and never any issue so pretty sure not a configuration issue.

Device: Galaxy A5(2017) running Android 8.0.0

Anyone ever seen this?

Stacktrace

Fatal Exception: java.lang.IllegalStateException: Unable to determine default activity for com.xxx. Does an activity specify the DEFAULT category in its intent filter?
       at com.jakewharton.processphoenix.ProcessPhoenix.getRestartIntent(ProcessPhoenix.java:89)
       at com.jakewharton.processphoenix.ProcessPhoenix.triggerRebirth(ProcessPhoenix.java:55)
       at com.xxx.MainApplication.restartApp(MainApplication.java:486)

Intent filter

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    <category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
    <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

githubber2222 avatar May 19 '19 13:05 githubber2222

forgot to mention: using V2.0.0

githubber2222 avatar May 19 '19 14:05 githubber2222

Try using implementation 'com.jakewharton:process-phoenix:2.0.1-SNAPSHOT'

See if that works

lazercorn avatar May 30 '19 01:05 lazercorn

maybe check this

henriquenfaria avatar Oct 24 '19 09:10 henriquenfaria

Yep, dupe of linked issue. Fix is integrated and will be released soon.

JakeWharton avatar Jun 25 '21 20:06 JakeWharton