Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17897] CLI build prompt doesn't show connected Android device

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, CLI
Labelscb-tooling
ReporterTim Statler
AssigneeChris Barber
Created2014-10-24T19:26:05.000+0000
Updated2020-01-30T09:24:57.000+0000

Description

If I run ti info with my Android device connected, it correctly tells me so:
$ ti info
...
Connected Android Devices
SGH-M919
  ID                          = 8fe13983
  State                       = device
  SDK Version                 = 4.4.2 (android-19)
  ABIs                        = armeabi-v7a, armeabi
But when I build for Android, and let the CLI prompt me for the target device, the list doesn't include the connected device ("SGH-M919" in this case), only emulators:
$ ti build -p android
...
Which emulator do you want to launch your app in?
Android Emulators
   1)  intel_nexus5 (4.4.2)
   2)  Nexus4 (4.4.2) (Google APIs supported)
   3)  Nexus4_1 (4.4.2)
   4)  Nexus5 (4.4.2) (Google APIs supported)
Genymotion Emulators
   5)  Custom Phone - 4.3 - API 18 - 768x1280 (4.3) (Google APIs support unknown)
Select an emulator by number or name: 
I would expect the connected devices listed by ti info to be available as a build target. In Studio, the connected device does show up as an available target, as expected, just not in the CLI.

Comments

No comments

JSON Source