Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4602] Android app hangs on restart

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-11-21T20:14:06.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid
ReporterCREATIVE KAIZEN
AssigneeShak Hossain
Created2016-11-09T07:30:43.000+0000
Updated2016-11-21T20:14:06.000+0000

Description

Application works perfectly until it is closed with back button. If so, than after restart it is showing splash screen and becoming non-responsive. After some time dialog (if I want to close the app) may show. It happens with any code. For example:
var myApp = {};
alert(1);
alert(2);
If app is closed in hard way (third button and swiping app out) than everything is fine. Same if it is forced to close after it hangs. Problem occurs on every Android version both on device and simulator. After some test I found it occurs on SDK 5.2.0 and newer (does not occur on 5.1.0-5.1.1)

Comments

  1. Aminul Islam 2016-11-20

    Hi, Thanks for reaching us. This issue has been solved on our latest SDK. Pease try 6.0.0.GA SDK, CLI & 4.8.0 of Studio. Let us know if you get error again. Regards, Aminul

JSON Source