android issue 2373 (missing intent category_launcher or flat_activity_reset_task_if_needed), restarting app

You must Login before you can answer or comment on any questions.

This is a store launch only issue and can't be duplicated when pushing the app locally onto the device (Toshiba Thrive, ICS 4.04) from Titanium.

This seems to be an Android bug that others are dealing with: https://jira.appcelerator.org/browse/TIMOB-4941 https://jira.appcelerator.org/browse/TIMOB-1559

I've applied the work around: <property name="ti.android.bug2373.disableDetection" type="bool">false</property> <property name="ti.android.bug2373.restartDelay" type="int">500</property> <property name="ti.android.bug2373.finishDelay" type="int">0</property> <property name="ti.android.bug2373.skipAlert" type="bool">false</property> <property name="ti.android.bug2373.message">An application restart is required</property> <property name="ti.android.bug2373.title">Restart Required</property> <property name="ti.android.bug2373.buttonText">Continue</property>

I am still having this issue after pushing this update onto Google Play.

Any ideas?

2 Answers

Accepted Answer

Move to a CI build, it is fixed there.

— answered 9 months ago by Dan Tamas
answer permalink
7 Comments
  • Great! Locked onto it. Does this mean I can dump the fix code noted above from tiapp?

    — commented 9 months ago by Francis Meetze

  • I keep only this:

    <property name="ti.android.bug2373.finishfalseroot" type="bool">true</property>
    It should work ok, not tested yet from googleplay, but the restart issue existed before when the app were opened from the recent apps menu

    — commented 9 months ago by Dan Tamas

  • Well if it works, I'll let you know here in a few days. Thanks

    — commented 9 months ago by Francis Meetze

  • Show 4 more comments
— answered 9 months ago by Aaron Saunders
answer permalink
3 Comments
  • Is it really solved on the current 2.1.2GA release? I updated it on my mac, rebooted, changed the SDK version on my app to 2.1.2, and removed all bug2373 properties but the finishfalseroot.

    Now I'm testing my app Spotfav (published for iOS/Android) on a Sony Tablet (Android 4.0.3), when I send the app using "Run - Send to Device - Android" and try to run it for wherever I can, I get the message "Unfortunately, Spotfav has stopped".

    Does it has anything to do with this issue? I'm doing the same with an Android phone and everything works fine.

    09-04 18:29:17.460: E/TiApplication(26611): (main) [27,283] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.spotfav.spotfav/org.appcelerator.titanium.TiActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020002; Titanium 2.1.2,2012/08/24 14:46,ed7f777
    09-04 18:29:17.460: E/TiApplication(26611): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.spotfav.spotfav/org.appcelerator.titanium.TiActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020002
    I'm wondering what will happen if I send my app to Google Play. I'm afraid that users will get this error, that makes impossible to run the app.

    Thank you very much

    — commented 9 months ago by Lluis Gerard Lopez

  • Ok, don't know what happens... I downloaded again the app from Google Play (with the reboot issue) and now it can't be started when opened in landscape, and it works when opened in portrait, it doesn't happens on other devices :(

    — commented 9 months ago by Lluis Gerard Lopez

  • So I thing it must be another bug (sorry for multiple comments).

    — commented 9 months ago by Lluis Gerard Lopez

Your Answer

Think you can help? Login to answer this question!