{ "id": "99245", "key": "TIMOB-10534", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14158", "description": "Sprint 2012-20 Core", "name": "Sprint 2012-20 Core", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-05T05:57:19.000+0000", "created": "2012-08-15T08:22:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [ { "id": "21616", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "101900", "key": "TISTUD-2333", "fields": { "summary": "Android Device Debugger: Failure to launch Android emulator", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-12-18T23:32:20.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" } ], "description": "When I try to run the android emulator I see the following in the Debug output:\r\n{noformat}\r\n[DEBUG] C:\\SDK\\tools\\emulator.exe -avd titanium_6_WVGA854 -port 5560 -sdcard \"C:\\Users\\qatester\\.titanium\\titanium_6_WVGA854.sdcard\" -logcat *:d,*,TiAPI:V -no-boot-anim -partition-size 128 armeabi-v7a\r\n[DEBUG] signal caught: 3\r\n[DEBUG] calling emulator kill on 3872\r\n{noformat}\r\nA bit of poking around finds that the emulator does not launch when the armeabi-v7a argument is attached.\r\n{noformat}\r\nMicrosoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation. All rights reserved.\r\n\r\nC:\\Users\\qatester>C:\\SDK\\tools\\emulator.exe -avd titanium_6_WVGA854 -port 5560 -\r\nsdcard \"C:\\Users\\qatester\\.titanium\\titanium_6_WVGA854.sdcard\" -logcat *:d,*,TiA\r\nPI:V -no-boot-anim -partition-size 128 armeabi-v7a\r\n\r\nC:\\Users\\qatester>invalid command-line parameter: armeabi-v7a.\r\nHint: use '@foo' to launch a virtual device named 'foo'.\r\nplease use -help for more information\r\n\r\n{noformat} \r\nI think this has something to do with the x86 emulators I had tested against, but can not figure out how to undo that change.\r\n\r\nSteps to reproduce:\r\n1. Create an Android project.\r\n2. Run the project in the emulator.\r\n\r\nExpected results:\r\nThe app should run in the emulator or should throw a relevant error.\r\n\r\nActual results:\r\nThe debug shows the above message before flipping the view to waiting for the emulator to be ready which finally times out.", "attachment": [], "flagged": false, "summary": "Tooling: Android emulator silently fails", "creator": { "name": "cheadley", "key": "cheadley", "displayName": "Clayton Headley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cheadley", "key": "cheadley", "displayName": "Clayton Headley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 7\r\nTitanium Studio, build: 2.2.0.201208141954\r\nTitanium SDK: 2.1.1.GA", "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "214587", "author": { "name": "cheadley", "key": "cheadley", "displayName": "Clayton Headley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I don't see the extra flag when testing on Titanium Studio, build: 2.1.2.201208131642.\r\n{nocode}[DEBUG] C:\\SDK\\tools\\emulator.exe -avd titanium_6_WVGA854 -port 5560 -sdcard \"C:\\Users\\qatester\\.titanium\\titanium_6_WVGA854.sdcard\" -logcat *:d,*,TiAPI:V -no-boot-anim -partition-size 128\r\n[DEBUG] signal caught: 3\r\n[DEBUG] calling emulator kill on 5544\r\nERROR: The process \"5544\" not found.\r\n{nocode}\r\nThe emulator continues to loads correctly.", "updateAuthor": { "name": "cheadley", "key": "cheadley", "displayName": "Clayton Headley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-15T10:53:37.000+0000", "updated": "2012-08-15T10:53:56.000+0000" }, { "id": "215448", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving issue from Studio to SDK.\r\n\r\nBug occurs from command line.\r\n\r\nTitanium Studio: 2.2.0\r\nTitanium SDK: 2.1.1\r\nOS: Windows 7\r\nDevices Tested: Android Emulator 2.2, 2.3.3", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-21T15:14:29.000+0000", "updated": "2012-08-21T15:14:29.000+0000" }, { "id": "221300", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Fail case / Test case\r\n\r\n*MUST BE DONE IN WINDOWS!*\r\n\r\n*MUST BE DONE WITH TITANIUM STUDIO NIGHTLY (e.g., 3.0.0)!*\r\n\r\nh4. Get Required Android Version\r\n\r\n* Using Android's SDK Manager, download Android 4.0.3 (API 15): \"SDK Platform\", \"ARM EABI v7a System Image\" *and* \"Intel x86 Atom System Image\".\r\n\r\nh4. Setup Titanium Studio\r\n\r\n*Remember*: This must be a nightly build of Studio:\r\n\r\nhttp://preview.appcelerator.com/appcelerator/studio/standalone/install/nightly/Titanium_Studio.exe\r\n\r\nor (if you want to get it via updates of your currently installed Studio):\r\n\r\nadd http://preview.appcelerator.com/appcelerator/studio/standalone/install/nightly/ to \"Available Software Sites\" in Studio preferences.\r\n\r\n* On the Titanium preferences pane, set \"Android 4.0.3 [armeabi-v7a]\" as the default android sdk.\r\n\r\nh4. Make and run a project\r\n\r\n* Create a Titanium Project. Use any template you want. Target 3.0.0. (Note: if you have a problem creating the project -- there is a bug in the current nightly as I write this -- then create a 2.1.2.GA project, then after it's created change the target sdk to 3.0.0.) Note that you need to target 3.0.0 to see the bug -- it's not in 2.1.2, but rather on current master.\r\n\r\n* Run the project on Emulator.\r\n\r\nFail case: The emulator itself will never open. And you'll eventually get some errors.\r\n\r\nOn the PR branch, the emulator should open.\r\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-27T23:48:45.000+0000", "updated": "2012-09-27T23:49:24.000+0000" }, { "id": "221301", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hopefully the above makes sense. The formatting (at least, what I'm seeing in Chrome on OSX) is horrendous in this updated JIRA.\n\nNote that you cannot do these tests until TISTUD-2333 is fixed.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-27T23:51:32.000+0000", "updated": "2012-09-27T23:51:32.000+0000" }, { "id": "221304", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR ready:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/3074\n\nBut do not process until TISTUD-2333 is fixed.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-27T23:55:08.000+0000", "updated": "2012-09-27T23:55:08.000+0000" }, { "id": "221820", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Testing can resume.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-02T23:22:20.000+0000", "updated": "2012-10-02T23:22:20.000+0000" }, { "id": "231937", "author": { "name": "cheadley", "key": "cheadley", "displayName": "Clayton Headley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on Titanium Studio, build: 3.0.0.201212131639 using Titanium SDK 3.0.0GA. Closing ticket.", "updateAuthor": { "name": "cheadley", "key": "cheadley", "displayName": "Clayton Headley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-18T23:32:20.000+0000", "updated": "2012-12-18T23:32:20.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }