欢迎来到天天文库
浏览记录
ID:37861020
大小:2.25 MB
页数:11页
时间:2019-06-01
《Eclipse调试Android应用程序》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、目录一、开始添加代码到Eclipse:.....................................................................................2二、调试..............................................................................................................................21.编译......................
2、.........................................................................................................32.替换APK........................................................................................................................33.查看调试端口....................
3、............................................................................................33.1关于查看端口号的问题,需要强调一点...............................................................44.添加断点...............................................................................
4、........................................55.开始调试.......................................................................................................................66.调试常用快捷键......................................................................................
5、......................97.结束调试.......................................................................................................................9三、使用Eclipse搜索关键字............................................................................................101.S
6、earch工具.............................................................................................................102.使用Reference........................................................................................................11以cocktail为例:添加工程到Eclipse中
7、有两点需要注意:1.Window---Preferences---Run/Debug---Launching---GeneralOption中”Build(ifrequired)beforelaunching”前面的勾去掉;2.Project---BuildAutomatically前面的勾去掉;如果不去掉这两个勾,将会导致添加代码速度很慢,而且Eclipse会尝试自动编译代码,影响电脑响应速度。实际上根本不需要Eclipse编译。假定我的Android源代码放在/local/build/cocktail/app/目录
8、下一、开始添加代码到Eclipse:1.将/local/build/cocktail/app/development/ide/eclipse/.classpath拷贝到/local/build/cocktail/app/目录下;2.File---New---JavaProject,打开”NewJavaProject”对话框,去掉”
此文档下载收益归作者所有