{ "id": "122161", "key": "TIMOB-15678", "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": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15709", "description": "2013 Sprint 23 Core", "name": "2013 Sprint 23 Core", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "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": "2013-11-14T01:33:00.000+0000", "created": "2013-11-06T22:08:42.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-closed-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-19T02:14:14.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h2. problem\r\n\r\nAs it stands now, the only output from the Android emulator launching process is the name of the emulator it intends to launch. There's no indication as to how it reached the decision to use a particular AVD. There's no output, positive or negative from the launching of the emulator. This means if there is an error in launching the emulator, the developer will have no idea why. This is further compounded by the fact that because the emulator process never gets started that \"adb logcat\" will provide no information either.\r\n\r\nh2. expected\r\n\r\nThe Android emulator output from the CLI should be like any other output, particularly on failures. It should contain full and complete log information that can be throttled using the CLI's log level options. ", "attachment": [], "flagged": false, "summary": "Android: CLI needs better output for emulator", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "278735", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4930\n\nTo test, you need to cause your emulator to fail to load. How? Great question! I have no idea. I modified the code to run a non-existent emulator (line 234 of node_modules/titanium-sdk/lib/emulators/avd.js).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-07T23:15:35.000+0000", "updated": "2013-11-07T23:15:35.000+0000" }, { "id": "280116", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Tony, please reopen, if not satisfied.\nMac osx 10.9 Mavericks\nAppcelerator Studio, build: 3.2.0.201311161724\nTitanium SDK, build: 3.2.0.v20131117001643\nCLI 3.2.0-alpha\nAlloy 1.3.0 (git://github.com/appcelerator/alloy.git#1_3_X)\n\nWorking case:\n{code}\n[INFO] : Deploy type: development\n[INFO] : Building for target: emulator\n[INFO] : Building for emulator: API15_Android_4.0.3\n[INFO] : Targeting Android SDK: 19\n[INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86\n[INFO] : Signing with keystore: /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131117001643/android/dev_keystore (tidev)\n[DEBUG] : App ID: com.appc.samuel\n[DEBUG] : Classname: Samuel\n[INFO] : Debugging disabled\n[INFO] : Profiler disabled\n[INFO] : Launching emulator: API15_Android_4.0.3\n[INFO] : Emulator already running\n{code}\n\nApp failed to launch\n{code}\n[INFO] : Making sure the adb server is running\n[INFO] : Waiting for emulator to become ready\n[LiveView] version 0.1.34\n[LiveView] File Server Started on Port 8324\n[LiveView] Event Server Started on Port 8323\n[INFO] : Emulator ready!\n[INFO] : Removing deploy.json from sdcard\n[INFO] : Installing apk: /Users/oromero/Documents/Appcelerator_Studio_Workspace1/samuel/build/android/bin/samuel.apk\n[INFO] : App successfully installed\n[INFO] : Starting app: com.appc.samuel/.SamuelActivity\n-- End application log -------------------------------------------------------\nThe current timeout is set to 120000 ms\n[ERROR] : Application failed to launch\nYou can increase this timeout by running: titanium config android.emulatorStartTimeout \n\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T02:13:28.000+0000", "updated": "2013-11-19T02:13:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }