您的位置:首页 > 移动开发 > Android开发

Android远程调试(Remote Java Application)

2013-05-02 14:20 375 查看
1.ANT 中需要在 javac 部分将 debug打开,即 debug = "true"
2.java编译器选项也需要打开如下的部分:注意其中的 "add line number attributes to generated class files(used by debugger)"



否则会出现如下的警告窗口:



.3.调试的时候,现在手机上打开要调试的APP,然后切换到DDMS下,选择该应用
然后点击绿色的DEBUG(虫子)按钮

////////////////////////////// 我在调试APP的时候,以上步骤就可以了
4.本地的新建一个Remote Java Application
Host:localhost
Port:8700



参考:
1.http://blog.csdn.net/tsimgsong/article/details/1766650
2.http://blog.csdn.net/zhangchiytu/article/details/6310488
3.http://www.eoeandroid.com/thread-23435-1-1.html
4.http://blog.csdn.net/lixnhollycrmcom/article/details/6271853
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: