Created
August 30, 2014 09:54
-
-
Save fahied/4b6621f4cee24c5c59ad to your computer and use it in GitHub Desktop.
SOLVED: adb not responding. you can wait more or kill adb process manually and click 'restart'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ISSUE: | |
When try to run/debug programm in Android Studio | |
adb not responding. you can wait more or kill adb process manually and click 'restart' | |
Reason: | |
The adb server cannot start if the port 5037 was occupied by other process. So we need to find which one occupied it and kill the process to release this port. | |
Solving Steps: | |
1. find out the PID (process id) of the process which occupied the port 5037 | |
D:\Android\sdk\platform-tools>netstat -aon|findstr 5037 | |
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6776 | |
TCP 127.0.0.1:5037 127.0.0.1:50506 TIME_WAIT 0 | |
TCP 127.0.0.1:5037 127.0.0.1:50507 TIME_WAIT 0 | |
Now the 6776 is the PID. Go to Task Manager, find it and kill it. | |
2. Run Android Studio | |
aplication run successfully |
Thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My android studio is currently running on that port. If i kill it then i can't even try to run the app.