不能调试Android应用 [英] Can't Debug Android Applications

查看:142
本文介绍了不能调试Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着在仿真器和比设备上的Andr​​oid应用程序,以及调试,但所有的时间我得到的消息等待调试器 - 等待调试器附加到进程。

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.

我真的AP preciate如果你们任何人都可以提供任何有用的提示。

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

推荐答案

但问题是在主机配置文件(C:\ WINDOWS \ SYSTEM32 \ DRIVERS \ ETC \主机)

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

在改变行

::1         localhost

127.0.0.1   localhost

一切工作正常。

everything works fine.

这篇关于不能调试Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆