{ "id": "176156", "key": "DAEMON-341", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-04-15T18:04:28.000+0000", "created": "2021-04-15T16:24:57.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2021-04-15T21:50:34.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": [ { "id": "15051", "name": "androidlib", "description": "Library for Android related functions" }, { "id": "15622", "name": "appcd-plugin-android" } ], "description": "h5.Description\r\n\r\nWhen running the daemon v4 the android plugin fails to start, it appears to be related to starting up adb as if the adb process is running already then it the plugin can start.\r\n\r\nThis works for the 2.x plugin, so I'm guessing it's something fixed in newer androidlib versions, the node 14 note here looks most likely https://github.com/appcelerator/androidlib/blob/master/CHANGELOG.md#v500-jun-22-2020\r\n\r\nIt's important for 1.x to work as that's what Studio uses\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Stop the daemon {{appc appcd stop}}\r\n2. Kill any existing adb daemons - {{ps aux | grep adb}} and run {{kill -9 }}\r\n3. Start the daemon {{appc appcd start}}\r\n4. Call the android 1.x plugin, {{appc appcd exec /android/1.x/info}}\r\n\r\nh5.Actual\r\n\r\nPlugin does not startup\r\n\r\nh5.Expected\r\n\r\nPlugins starts and returns info", "attachment": [], "flagged": false, "summary": "Android: 1.x plugin fails to start when running Daemon 4", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac and Windows", "comment": { "comments": [ { "id": "458589", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/androidlib/pull/75", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-04-15T16:39:51.000+0000", "updated": "2021-04-15T16:39:51.000+0000" }, { "id": "458591", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "androidlib@2.5.1 has been published.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2021-04-15T21:50:34.000+0000", "updated": "2021-04-15T21:50:34.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }