react-native: reactive run-android failed "could not install *smartsocket* listener: Address already in use"
:app:assembleDebug UP-TO-DATE
:app:installDebug
05:53:18 E/adb: error: could not install *smartsocket* listener: Address already in use
05:53:18 E/adb: ADB server didn't ACK
05:53:18 E/adb: * failed to start daemon *
05:53:18 E/adb: error: cannot connect to daemon
05:53:18 E/ddms: '/Users/bjhl/Library/Android/sdk/platform-tools/adb,start-server' failed -- run manually if necessary
:app:installDebug FAILED
the simulator i used is genymotion
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 29
the adb version on your system is different from the adb version on the android sdk platform-tools link it works for me
1 check sys adb version
2 check sdk adb version
3 copy
that’s all
I had the same issue and just did
Got another adb process already running but not sure why it was started
Just did a kill -9 11809 and started adb server and its working fine now
I had solved that. Just set the host
127.0.0.1 localhost
, then it runs ok. Actually, I also close my proxy, the network maybe a case.I’m using Genymotion’s adb, and needed to add it to my PATH environment variable. eg. in Mac/Linux’s
~/.bash_profile
:Then confirm it’s available with:
Just check whether your path is correct set or not
i had solved this problem; when i check my system path , i found two android sdk paths; delete one of them, then it works well
Same issue windows 7 without the Android SDK installed; using the genymotion adb.
All i did to fix was add the ‘C:\Program Files\Genymobile\Genymotion\tools’ to the system path… Presto…
Also, if there is anyone still having this problem, take a look at the response of this guy https://stackoverflow.com/a/45456154/6115334 for me that solved the problem. I had an
adb
old version that was being found first in my path variable, It was not the version I was expecting to be executed, this old version is the one the always was having the port taken.