Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3103] Android : app crashes on launch when installed from sd card

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:00:55.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M09
ComponentsAndroid
Labelsandroid, crash, defect, launch, regression, release-1.6.0, reported-1.6.0
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:37:03.000+0000
Updated2011-04-17T02:00:55.000+0000

Description

[INFO] Titanium SDK version: 1.6.0 (02/08/11 20:55 bd9d124...) seen on galaxy tab (2.2.3), nexus s (2.3.2) and g1 (1.6)

1.create an apk and transfer to sd card on device
2.browse to it and install the launch

results: crash and no relaunch

pastie:http://pastie.org/1549741">http://pastie.org/1549741

Comments

  1. Don Thorp 2011-04-15

    Must fix for 1.6.X

  2. Opie Cyrus 2011-04-15

    (from [b730985f862f367237b88ea7aa22f5d740efb660]) [#3103 state:fixed-in-qa] make sure Activity.onCreate is called from TiLaunchActivity

    Make sure that the base activity onCreate is being called when the app is launched the first time after installing from sdcard.
    (cherry picked from commit 14b1864eeaad30376cf591fc39da5bb5a56659a2) https://github.com/appcelerator/titanium_mobile/commit/b730985f862f367237b88ea7aa22f5d740efb660"> https://github.com/appcelerator/titanium_mobile/commit/b730985f862f...

  3. Thomas Huelbert 2011-04-15

    Hey Opie, using [INFO] Titanium SDK version: 1.6.0 (02/14/11 09:55 bd9d124)
    and a nexus s (2.3.2) and a G1 (1.6) I am still seeing the crash. Pastie here: http://pastie.org/1563447">http://pastie.org/1563447

  4. Don Thorp 2011-04-15

    Moving to this week so it doesn't get lost.

  5. Thomas Huelbert 2011-04-15

    ugh, I had the wrong build :( sorry, closing against [INFO] Titanium SDK version: 1.6.0 (02/11/11 15:10 4d6eb7a...) G1 (1.6), nexus Tab (2.2.2), samsung s (2.3.2)

    "an application restart is required" is now the behavior

  6. Don Thorp 2011-04-15

    Moving back to M09 since it was fixed there.

  7. Opie Cyrus 2011-04-15

    (from [14b1864eeaad30376cf591fc39da5bb5a56659a2]) [#3103 state:fixed-in-qa] make sure Activity.onCreate is called from TiLaunchActivity

    Make sure that the base activity onCreate is being called when the app is launched the first time after installing from sdcard.
    https://github.com/appcelerator/titanium_mobile/commit/14b1864eeaad30376cf591fc39da5bb5a56659a2"> https://github.com/appcelerator/titanium_mobile/commit/14b1864eeaad...

  8. Opie Cyrus 2011-04-15

    Setting back to resolved after cherry-pick set state to fixed-in-qa.

JSON Source