{ "id": "171207", "key": "AC-5628", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-04-09T21:15:01.000+0000", "created": "2018-02-27T14:59:10.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-04-09T21:15:01.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Hi guys,\r\nif I work in Appc Studio and also Android Studio is running, everything is fine. If I close Android Studio, Android devices disappears from Appcelerator Studio. If I run Android Studio again, there is my connected device. I tried to restart adb server, restart Appc studio, nothing helped. appc info sees that device \r\nI have to restart computer to make it working again. Please look at it why is this happening. Thanks", "attachment": [], "flagged": false, "summary": "No Android devices found after closing Android Studio", "creator": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "subtasks": [], "reporter": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "environment": null, "comment": { "comments": [ { "id": "434975", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Is this for a specific device or happening for multiple devices? What are the device models? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-02-27T21:20:11.000+0000", "updated": "2018-02-27T21:20:11.000+0000" }, { "id": "434976", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hi Sharif,\r\nI use Nexus 5X and One Plus One, both devices are visible after adb devices and appc info and no device is visible in Appc Studio. After restart computer and Refresh devices in Appc studio is everything back in normal.", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-02-27T21:24:29.000+0000", "updated": "2018-02-27T21:24:29.000+0000" }, { "id": "435057", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hi guys,\r\nI just discovered, there is no need to restart computer, I have to restart appcd via appc appcd restart, next Refresh devices in Studio and they will reappar. I think it's caused by Android Studio, when it quits, it happens to me all the time", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-03-01T15:24:01.000+0000", "updated": "2018-03-01T15:24:01.000+0000" }, { "id": "435147", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Did the devices are visible only when the Appc studio is running? I believe also the issue is with Android studio, When you quit it, it disconnects the devices. The issue is invalid. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-03-03T20:23:04.000+0000", "updated": "2018-03-03T20:23:04.000+0000" }, { "id": "435148", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hi Sharif,\r\nwhen I quit Android Studio, devices remain visible for adb devices and also for appc info, not for Appcelerator Studio.\r\nRestart PC or appc appcd restart solves the problem for me.\r\n", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-03-03T20:26:20.000+0000", "updated": "2018-03-03T20:26:20.000+0000" }, { "id": "435150", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "I am asking If you only run the Appc studio after a restart and connect the devices, wear you able to run in the device? ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-03-03T20:52:24.000+0000", "updated": "2018-03-03T20:52:24.000+0000" }, { "id": "435151", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "If I quit Android Studio, it's not important if Appc studio is running or not(it it's running, devices disappear immedieately, if I run it after Android studio quits, devices will not appear). When I restart pc, run Appc studio and connect device, it appears normally(sometimes is required to refresh devices from Studio, sometimes not. Also sometimes disappear whole Run option(with all emulators) and remains only Package app option - after Refresh devices it comes to normal).\r\nI discovered, that restarting PC is not required, I can restart appcd when Appc studio is still running and Refresh devices after and everything will be fine.", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-03-03T21:00:38.000+0000", "updated": "2018-03-03T21:00:38.000+0000" }, { "id": "435153", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "As you said you can run on the device with Appc studio after a restart. So, the issue here is with Android studio, when it quits it disconnects the devices with it. And you need to restart the appcd to bring them back for Appc studio. So, the issue here is with Android studio. You can ask in the Android community about that. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-03-03T21:29:21.000+0000", "updated": "2018-03-03T21:29:35.000+0000" }, { "id": "435154", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Question is, if it's Android studio bug, why if I run in terminal \"adb devices\" or \"appc info\" after Android studio quits, both command's outputs sees my device but Appcelerator Studio doesn't and I have to restart appcd. I thought, that it relates with each other(I thought that Appcelerator Studio device list is nice listing of appc info or similar \"appc\" command output). ", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-03-03T21:37:43.000+0000", "updated": "2018-03-03T21:37:43.000+0000" }, { "id": "435295", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~max87] This is a known issue with the daemon currently, DAEMON-164, that is fixed in the upcoming 1.1.0 release. I won't bore you with the details, but the reason this occurs is because currently the daemon does not re-init the connection if adb exits. As you've already found restarting the daemon fixes this, you might find it slightly quicker to just restart the android plugin with {{appc appcd exec /appcd/plugin/stop/appcd-plugin-android && appc appcd exec /android/latest/info/devices}}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-03-07T11:09:02.000+0000", "updated": "2018-03-07T22:11:02.000+0000" }, { "id": "435324", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Thanks Ewan for your comment, I'm looking forward for available fix. In meantime I'm happy, that restarting appcd is also enough(and it's better memorable) than restarting android plugin(pain was, when I didn't know this and had to restart my mac).\r\n", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2018-03-07T22:20:27.000+0000", "updated": "2018-03-07T22:20:27.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }