Unnikrishnan
Unnikrishnan

Reputation: 3313

Unable to load application in Android Studio emulator

I can't open the application I'm developing in Android Studio emulator, It is showing the following message in the log

Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.

Unable to open connection to: localhost/17.253.38.253:5037, due to: java.net.ConnectException: Operation timed out

Following is the port listening by adb

adb 14528 unnikrishnan.b 10u  IPv4 0x7e537943f4599ac9  0t0  TCP localhost:5037 (LISTEN)

This happened after I upgraded to android studio 3.1.2. How I can fix this issue?

Thanks, Unnikrishnan B.

Upvotes: 0

Views: 249

Answers (1)

Camilo Andres
Camilo Andres

Reputation: 196

can be caused by an ip address in the file etc / host, sometimes you enter an additional to make tests and it is not deleted, you must check that in your file this

127.0.0.1 localhost
255.255.255.255 broadcasthost
:: 1 localhost

you can also ping the address 127.0.0.1 to check for an answer, $ ping localhost

additional information that can helps you

https://issuetracker.google.com/issues/37126279

Upvotes: 2

Related Questions