{ "id": "89171", "key": "TIMOB-9153", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15645", "description": "2013 Sprint 18 Core", "name": "2013 Sprint 18 Core", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-12T21:11:57.000+0000", "created": "2012-03-29T13:37:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "androidbuild", "ay-verified", "cb-verified", "core", "qe-and040912" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16203", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "89141", "key": "TIMOB-9152", "fields": { "summary": "Android: Deployment: Android Emulator intermittently fails with error type 2", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30738", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118140", "key": "TIMOB-14785", "fields": { "summary": "CLI: Create Android Emulator Library", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-16T20:59:00.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Emulator launches and fails to load app with timed out log:\r\n\r\n[INFO] logfile = /Users/dhyde/Documents/Titanium Studio 2.0.0 Workspace/NewProject/build.log\r\n[INFO] Building NewProject for Android ... one moment\r\n[INFO] Titanium SDK version: 2.0.0 (03/28/12 18:32 7c5487f)\r\n[ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create project, launch on emulator.\r\n\r\nExpected Result:\r\n\r\nApp should launch.\r\n\r\nActual Result:\r\n\r\nIntermittently app does not install. Timed out error.", "attachment": [ { "id": "43916", "filename": "StudioConsoleLog.txt", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T08:57:30.000+0000", "size": 12463, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Deployment: Android Emulator intermittently fails to launch app after timed out", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.0.0.v20120328183230\r\nAndroid: V8\r\nStudio: 2.0.0.201203290942\r\nOS: Snow Leopard\r\nDevices Tested: Emulator 2.2", "comment": { "comments": [ { "id": "247412", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not reproducible with the following env.\nSDK: 3.1.0.v20130412191547\nStudio:3.1.0.201304121929\nAndroid Runtime: V8\nMachine OS : MAC 10.8\nDevice : Android emulator 2.2\nTried launching the app on emulator 8-10 times.Each time emulator launched app properly.", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-13T09:30:39.000+0000", "updated": "2013-04-13T09:30:39.000+0000" }, { "id": "268493", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is fixed by https://github.com/appcelerator/titanium_mobile/pull/4612, specifically TIMOB-14784.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-27T23:17:14.000+0000", "updated": "2013-08-27T23:17:14.000+0000" }, { "id": "275610", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The new Android build by default waits 2 minutes after the build completes for the emulator to start and then another 2 minutes to install the app. These are configurable via the \"android.emulatorStartTimeout\" and \"android.appStartTimeout\" CLI config settings. The unit is milliseconds.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-18T10:26:22.000+0000", "updated": "2013-10-18T10:26:22.000+0000" }, { "id": "279515", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment - \nAppc Studio - 3.2.0.201311122338\nSDK - 3.2.0.v20131113183932\nacs -1.0.7\nalloy - 1.3.0\ntitanium - 3.2.0\ntitanium-code-processor - 1.1.0\nXcode - 5.0.2\nOS - Mac OS X Mavericks (10.9)\nEmulators - Google APIs - API Level 18 (4.3), Google APIs - API Level 19 (4.4)\n\nResult-1: Shows below error message with default 2 minutes wait - \n--------------------------\nThe current timeout is set to 120000 ms\nYou can increase this timeout by running: titanium config android.emulatorStartTimeout \n[ERROR] : Emulator failed to start in a timely manner\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\n--------------------------\n\nResult-2: Shows below error message if I set the timeout to 3 minutes. Here emulator launches but fail to install app. In this case console still shows the default 2 minutes wait time. See the attached console log file.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T08:56:31.000+0000", "updated": "2013-11-14T08:56:31.000+0000" }, { "id": "279521", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~djha] I can't make the Android ARM emulator boot faster. If your computer is too slow, then you will need to increase the timeout. If you manually launch the emulator, you should not have this problem. I'm resolving this as fixed again.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-14T09:31:10.000+0000", "updated": "2013-11-14T09:31:10.000+0000" }, { "id": "279644", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I verified the build & launch of an app on emulators : Android 4.3 (API level 18) ; Android 2.3.3 (API level 10) ; Android 4.2.2 (API level 17) & Android 4.4 (API level 19).\nThe launch process times out sometimes if the emulator takes a long time to start. Also, once the emulator is running, building the app again launches that apps successfully.\n\nAppcel Studio : 3.2.0.201311140721\nTi SDK : 3.2.0.v20131108155642\nMac OSX : 10.8.5\nAlloy : 1.3.0\nCLI - 3.2.0", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T22:38:38.000+0000", "updated": "2013-11-14T22:38:38.000+0000" }, { "id": "284715", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Have also verified the build & launch of an app on emulators : Android 2.3.3 (API level 10) and Android 4.4 (API level 19).\nFor the first time gets timed out error.Once the emulator is running, the app launches successfully.\n\nTested Environment:\n\nAppcelerator Studio: 3.2.0.201312162210\nSDK:3.2.0.v20131216191854\nalloy: 1.3.0-cr2\nacs: 1.0.10\nnpm: 1.3.2\ntitanium: 3.2.0-cr3\ntitanium-code-processor: 1.1.0-cr2\nXcode:5.0.2\nOS: Mac OSX 10.9", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T09:17:33.000+0000", "updated": "2013-12-17T09:17:33.000+0000" }, { "id": "285032", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Build an app on emulator 5 times & all the times it did not timeout & ran successfully.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201312171913\r\nTi SDK : 3.2.0.v20131217190633\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0-cr2\t\r\nCLI - 3.2.0-cr3\r\nEmulators: android 4.3, 4.2.2 , 4.4", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-18T18:07:16.000+0000", "updated": "2013-12-18T18:07:16.000+0000" }, { "id": "286329", "author": { "name": "tak8xx", "key": "tak8xx", "displayName": "Charles Tran", "active": true, "timeZone": "Asia/Jakarta" }, "body": "The timeout occurred on android emulator, but i'm build on android device is ok.\r\nPlease, reopen this ticket. Thanks.\r\n\r\nEnvirontment tested:\r\n\r\nTitanium Studio, build: 3.2.0.201312191547\r\nTitanium SDK version 3.2.0.GA\r\nCLI version 3.2.0\r\nAloy 1.3.0\r\nMac OSX: 10.9.1\r\nEmulators: android 4.4, 2.3.3", "updateAuthor": { "name": "tak8xx", "key": "tak8xx", "displayName": "Charles Tran", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-12-31T03:47:57.000+0000", "updated": "2013-12-31T03:47:57.000+0000" }, { "id": "304394", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber], thoughts?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-12T17:12:12.000+0000", "updated": "2014-05-12T17:12:12.000+0000" }, { "id": "304459", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The emulator launch timeout is set to 2 minutes and the app launch timeout is set to 2 minutes. If your computer is slow, then you must increase these timeouts.\r\n\r\n{code}\r\nti config android.emulatorStartTimeout 300000\r\nti config android.appStartTimeout 300000\r\n{code}\r\n\r\nYou may also need to restart the ADB server:\r\n\r\n{code}\r\nadb kill-server\r\nadb start-server\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-12T21:11:57.000+0000", "updated": "2014-05-12T21:11:57.000+0000" }, { "id": "413002", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T20:59:00.000+0000", "updated": "2017-03-16T20:59:00.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }