{ "id": "138498", "key": "TIMOB-17897", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2014-10-24T19:26:05.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2020-01-30T09:24:57.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "If I run {{ti info}} with my Android device connected, it correctly tells me so:\r\n\r\n{code}\r\n$ ti info\r\n...\r\nConnected Android Devices\r\nSGH-M919\r\n ID = 8fe13983\r\n State = device\r\n SDK Version = 4.4.2 (android-19)\r\n ABIs = armeabi-v7a, armeabi\r\n{code}\r\n\r\nBut 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:\r\n\r\n{code}\r\n$ ti build -p android\r\n...\r\nWhich emulator do you want to launch your app in?\r\nAndroid Emulators\r\n 1) intel_nexus5 (4.4.2)\r\n 2) Nexus4 (4.4.2) (Google APIs supported)\r\n 3) Nexus4_1 (4.4.2)\r\n 4) Nexus5 (4.4.2) (Google APIs supported)\r\nGenymotion Emulators\r\n 5) Custom Phone - 4.3 - API 18 - 768x1280 (4.3) (Google APIs support unknown)\r\nSelect an emulator by number or name: \r\n{code}\r\n\r\nI 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.", "attachment": [], "flagged": false, "summary": "CLI build prompt doesn't show connected Android device ", "creator": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI 3.4.0", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }