Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5294] Appcelerator Cannot detect Android Devices,

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2017-10-26T04:28:50.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator CLI, Studio
Labelsn/a
Reporterardy wongso
AssigneeShak Hossain
Created2017-10-20T04:43:55.000+0000
Updated2017-10-26T04:28:50.000+0000

Description

When i do "adb devices" I can see the device connected to the PC but 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) {"code":"ENOTFOUND","errno":"ENOTFOUND","syscall":"getaddrinfo","hostname":"localhost","port":5037} when I run appc info, it shows Android Devices : NONE above issue happen after I upgrade MacOS/Xcode and suddenly after restart it happen. anyway: 1. Android SDK also set properly 2. If I use android studio to compile app to device, it work fine 3. I have try restart, reinstall Appc, reinstall nodejs, reinstall CLI, none works

Comments

  1. ardy wongso 2017-10-20

    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 it takes me 1 day + to fix this, Thank's God it works!!

JSON Source