[TIMOB-15678] Android: CLI needs better output for emulator
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-11-14T01:33:00.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0 |
Components | CLI |
Labels | qe-closed-3.2.0 |
Reporter | Tony Lukasavage |
Assignee | Chris Barber |
Created | 2013-11-06T22:08:42.000+0000 |
Updated | 2013-11-19T02:14:14.000+0000 |
Description
problem
As 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.
expected
The 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.
Comments
JSON Source
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4930 To 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).
@Tony, please reopen, if not satisfied. Mac osx 10.9 Mavericks Appcelerator Studio, build: 3.2.0.201311161724 Titanium SDK, build: 3.2.0.v20131117001643 CLI 3.2.0-alpha Alloy 1.3.0 (git://github.com/appcelerator/alloy.git#1_3_X) Working case:
App failed to launch