Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6674] Android: Debugger: V8 when a device is connected, cannot connect to the debugger

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-07-19T18:57:22.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsqe-and121411, qe-new
ReporterNatalie Huynh
AssigneeIngo Muschenetz
Created2011-12-14T16:56:23.000+0000
Updated2017-07-19T18:57:22.000+0000

Description

Steps to Reproduce: 1. Connect an android device to machine 2. Select a project and run in debug mode Actual Result: [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.v20111214093905/android/builder.py", line 2033, in [ERROR] s.build_and_run(False, avd_id, debugger_host=debugger_host) [ERROR] File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.v20111214093905/android/builder.py", line 1933, in build_and_run [ERROR] self.sdk.run_adb(['forward', forwardPort, forwardPort]) [ERROR] File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1.v20111214093905/android/androidsdk.py", line 248, in run_adb [ERROR] raise Exception(err) [ERROR] Exception: error: more than one device and emulator [ERROR] Expected Result: To connect to the debugger

Comments

  1. Jonathan O'Brien 2012-02-20

    I can confirm this is an issue. Spent a whole day trying to figure out why debug wasn't working until I unplugged my android phone.
  2. Lee Morris 2017-07-19

    I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source