{ "id": "170074", "key": "AC-5294", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-10-26T04:28:50.000+0000", "created": "2017-10-20T04:43:55.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-26T04:28:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "When i do \"adb devices\" I can see the device connected to the PC\r\n\r\nbut when i open studio, I can't see any android Device, and when I run appc run -p android -T device, I get error (_build.js:196)\r\n{\"code\":\"ENOTFOUND\",\"errno\":\"ENOTFOUND\",\"syscall\":\"getaddrinfo\",\"hostname\":\"localhost\",\"port\":5037}\r\n\r\nwhen I run appc info, it shows Android Devices : NONE\r\n\r\nabove issue happen after I upgrade MacOS/Xcode and suddenly after restart it happen.\r\n\r\n\r\nanyway: \r\n1. Android SDK also set properly\r\n2. If I use android studio to compile app to device, it work fine\r\n3. I have try restart, reinstall Appc, reinstall nodejs, reinstall CLI, none works", "attachment": [], "flagged": false, "summary": "Appcelerator Cannot detect Android Devices, ", "creator": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio 4.10.0\r\nMac OS Sierra High 10.13\r\nCLI 6.2.4\r\nNode JS \r\n\r\n\r\nMac OS X\r\n Command Line Tools = installed\r\n\r\nIntelĀ® Hardware Accelerated Execution Manager (HAXM)\r\n Installed = yes\r\n Memory Limit = 2 GB\r\n\r\nJava Development Kit\r\n Version = 1.8.0_131\r\n Java Home = /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home\r\n\r\nGenymotion\r\n Path = not found\r\n Genymotion Executable = not found\r\n Genymotion Player = not found\r\n Home = not found\r\n\r\nVirtualBox\r\n Executable = not found\r\n Version = unknown\r\n\r\nAndroid SDK\r\n Android Executable = not found\r\n ADB Executable = /Applications/platform-tools/adb\r\n SDK Path = /Applications\r\n\r\nAndroid NDK\r\n NDK Path = /Users/worldofappz/Downloads/android-ndk-r9d\r\n NDK Version = r9d (64-bit)\r\n\r\n", "comment": { "comments": [ { "id": "429318", "author": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry it was my issue, localhost 127.0.0.1 was removed from /etc/hosts. If someone find similar issue, go check your /etc/hosts file\r\n\r\nit takes me 1 day + to fix this, Thank's God it works!!", "updateAuthor": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-20T05:12:23.000+0000", "updated": "2017-10-20T05:12:23.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }