[TIMOB-20548] Android x86 emulator is detected as a device by appc CLI with android SDK tools 25.0.9 rc10
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-10T17:23:05.000+0000 |
Affected Version/s | Release 5.2.0, Release 5.2.1 |
Fix Version/s | Release 5.2.1 |
Components | Android, Tooling |
Labels | qe-5.2.0, qe-5.2.1 |
Reporter | Lokesh Choudhary |
Assignee | Chris Barber |
Created | 2016-03-10T22:24:09.000+0000 |
Updated | 2016-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 emulatorsExpected Results:
1. The emulator should not be detected as a device.Attachments
File | Date | Size |
---|---|---|
appc info command for android with 24.4.1.png | 2016-03-10T22:24:06.000+0000 | 12704 |
appc info command for android with 25.0.9rc10.png | 2016-03-10T22:24:06.000+0000 | 15314 |
Screen Shot 2016-03-16 at 3.10.34 PM.png | 2016-03-16T22:19:12.000+0000 | 86345 |
Screen Shot 2016-03-16 at 3.12.29 PM.png | 2016-03-16T22:19:12.000+0000 | 89924 |
Screen Shot 2016-03-16 at 3.48.07 PM.png | 2016-03-16T22:48:32.000+0000 | 205666 |
studio run targets.png | 2016-03-10T22:24:06.000+0000 | 89550 |
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
[~cb1kenobi], still able to reproduce when running multiple emus.
[~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?
attach additional screenshots. I have 3 Android emulators running. Periodically the last two are being detected as devices.
[~fmiao] Fixed and ready for testing.
PRs merged.
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
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
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.