nekaz / android-ui-utils

Automatically exported from code.google.com/p/android-ui-utils
0 stars 0 forks source link

ADB shell fails in DesignPreview when more than one device is connected #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Connect at least two devices, e.g. hardware (HW) in debug mode and AVD 
emulator. Try to connect.

What is the expected output? What do you see instead?
Expected: in a mix HW/AVD the device is selected, in a multi-HW environment 
either UI for selecting the device or the first device is used.
Actual: adb shell fails with -1 result

Please provide any additional information below.
Adding "-d" to com.google.android.desktop.proofer.AdbRunner.adb(),

argList.add(1, "-d");

in the mixed environment lets preview work with the HW. Multi-HW not tested.

Original issue reported on code.google.com by marcin.zdun on 17 Jan 2012 at 10:52

GoogleCodeExporter commented 8 years ago

Original comment by romannu...@google.com on 17 Jan 2012 at 7:04

GoogleCodeExporter commented 8 years ago
Project moved to Project moved to 
https://github.com/romannurik/AndroidDesignPreview. Please re-file if this is 
still an issue.

Original comment by romannu...@google.com on 19 May 2014 at 3:18