Titanium JIRA Archive
Appcelerator Community (AC)

[AC-839] TS can't detect that emulator (android) 1.is ready 2.is runnung

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2015-09-29T04:03:24.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterFix Please
AssigneeShak Hossain
Created2015-03-11T07:53:08.000+0000
Updated2016-03-08T07:37:07.000+0000

Description

All the details are available at: TC-5001, TC-5002

Comments

  1. Fix Please 2015-04-21

    Hello?
  2. Fix Please 2015-04-23

    ?
  3. Fix Please 2015-04-26

    ?
  4. Fix Please 2015-04-28

    ?
  5. Fix Please 2015-05-12

    ?
  6. Fix Please 2015-05-18

    ?
  7. Fix Please 2015-05-21

    ?
  8. Shak Hossain 2015-09-29

    Without details of the issue, we can offer any fix. Please submit details.
  9. Fix Please 2015-12-22

    I'be already wrote the details before: the code that process responses from simulator is not correct (buggy). If to be even more specific, at least the following code is not correct:
       	socket.on('data', function (data) {
       		switch (state) {
       			case WAITING_FOR_WELCOME:
       				state = WAITING_FOR_NAME;
       				socket.write('avd name\n');
       				break;
       			case WAITING_FOR_NAME:
       				end(null, data.toString().trim().split('\n').shift().trim());
       				break;
       		}
       
       
    PS. You should use logging in order to know details. That's the commonly used standard approach. Closing issues just because you are too lazy to investigate (at least open the code) is not professional. The product has endless amount of bugs because of this. IMHO.

JSON Source