[TIMOB-6674] Android: Debugger: V8 when a device is connected, cannot connect to the debugger
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-07-19T18:57:22.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-and121411, qe-new |
Reporter | Natalie Huynh |
Assignee | Ingo Muschenetz |
Created | 2011-12-14T16:56:23.000+0000 |
Updated | 2017-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
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.
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