Niko Gamulin
Niko Gamulin

Reputation: 66565

Can't Debug Android Applications

I've tried to debug the android applications on emulator and than on the device as well but all the time I get the message "Wait for debugger - waiting for the debugger to attach to the process".

I really don't know how to set the environment and the application in order to run the debug.

I Would really appreciate if anyone of you could provide any useful tips.

Upvotes: 8

Views: 6825

Answers (2)

Niko Gamulin
Niko Gamulin

Reputation: 66565

The problem was in host configuration file (C:\Windows\System32\drivers\etc\hosts)

After changing line

::1         localhost

with

127.0.0.1   localhost

everything works fine.

Upvotes: 6

slf
slf

Reputation: 22767

You might want to try just waiting a bit longer. On my machine the first time I booted it up many moons ago I had the same problem. It took about 20 or 30 minutes but it finally came up.

Upvotes: 2

Related Questions