Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20548] Android x86 emulator is detected as a device by appc CLI with android SDK tools 25.0.9 rc10

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-05-10T17:23:05.000+0000
Affected Version/sRelease 5.2.0, Release 5.2.1
Fix Version/sRelease 5.2.1
ComponentsAndroid, Tooling
Labelsqe-5.2.0, qe-5.2.1
ReporterLokesh Choudhary
AssigneeChris Barber
Created2016-03-10T22:24:09.000+0000
Updated2016-05-10T17:23:55.000+0000

Description

Steps to reproduce:

1. Make sure you have android SDK tools 25.0.9 rc10 installed. 2. Build for android x86 emulator (5.1.1 or 6.0.0).

Actual Results:

1. The emulator launches but studio keeps on waiting for the emulator to be ready. 2. On looking inside run targets/android device in studio you see the emulator as a device.(screenshot attached ). 3. Running "appc ti info -t android" you see the emulator in devices list.(screenshot attached). 4. Running "appc ti info -t android" with SDK tools 24.4.1 you do not see the emulator in devices list.(screenshot attached). 5. This is only seen for 5.1.1 x86 & 6.0.0 x86 emulators

Expected Results:

1. The emulator should not be detected as a device.

Attachments

FileDateSize
appc info command for android with 24.4.1.png2016-03-10T22:24:06.000+000012704
appc info command for android with 25.0.9rc10.png2016-03-10T22:24:06.000+000015314
Screen Shot 2016-03-16 at 3.10.34 PM.png2016-03-16T22:19:12.000+000086345
Screen Shot 2016-03-16 at 3.12.29 PM.png2016-03-16T22:19:12.000+000089924
Screen Shot 2016-03-16 at 3.48.07 PM.png2016-03-16T22:48:32.000+0000205666
studio run targets.png2016-03-10T22:24:06.000+000089550

Comments

  1. Chris Barber 2016-03-16

    Master PR: https://github.com/appcelerator/titanium_mobile/pull/7851 5_3_X PR: https://github.com/appcelerator/titanium_mobile/pull/7852 5_2_X PR: https://github.com/appcelerator/titanium_mobile/pull/7853
  2. Feon Sua Xin Miao 2016-03-16

    [~cb1kenobi], still able to reproduce when running multiple emus.
  3. Chris Barber 2016-03-16

    [~fmiao] Can you be more specific? What exactly do you mean "running multiple emus"? Like an Android emulator and a Genymotion emulator? Two Android emulators? What API level are the emulators running? Any other info?
  4. Feon Sua Xin Miao 2016-03-16

    attach additional screenshots. I have 3 Android emulators running. Periodically the last two are being detected as devices.
  5. Chris Barber 2016-03-17

    [~fmiao] Fixed and ready for testing.
  6. Feon Sua Xin Miao 2016-03-17

    PRs merged.
  7. Lokesh Choudhary 2016-03-17

    Verified the fix. Emulators now are detected as emulators. Closing. Environment: Appc Studio : 4.5.0.201602170831 Ti SDK : 5.2.1.v20160317105842 Ti CLI : 5.0.6 Alloy : 1.7.35 MAC El Capitan : 10.11.13 Appc NPM : 4.2.4-2 Appc CLI : 5.2.1-12 Node: 4.2.2 Android emulator: Android 5.1.1 & android 6.0.0
  8. Lokesh Choudhary 2016-05-10

    This issue is now seen again with Android SDK tools : 25.1.5 rc1 Environment: Appc Studio : 4.6.0.201605030516 Ti SDK : 5.3.0.v20160509143032 Ti CLI : 5.0.8 Alloy : 1.8.7 MAC El Capitan : 10.11.4 Appc NPM : 4.2.5-3 Appc CLI : 5.3.0-44 Node: 4.2.2
  9. Lokesh Choudhary 2016-05-10

    Looks like google removed 25.1.5 rc1 due to which this issue was seen, I don't see it any more in android SDK manager. Current android sdk tools 25.1.4.rc1 does not show this issue. Closing.

JSON Source