Android下使用Logcat打印信息
16lz
2021-12-04
设置Eclipse
1.Window>CustomizePerspective
2.选择Shortcuts标签
3.在Submenus选择ShowView
4.在ShortcutCategories选择Android
5.在右边勾上LogCat,然后确定。
6.Window>ShowView>LogCat就可以打开LogCatView
7.在Console后面出现 LogCat
8.设置过滤器 点 Logcat后面的 绿色小加号 输入 一个Tag 这样只打印需要的信息 比如 MyTag
9.在代码中测试Log.v("MyTag","hello success");
更多相关文章
- 【转】android之uses-permission
- Android打开系统设置界面与系统无线网络设置界面
- [置顶] android开发之 listview中的item去掉分割线 隐藏分割线
- Android添加单元测试的方法与步骤
- Android下使用Logcat打印信息
- Android(安卓)设置横屏/竖屏
- android textview
- androidの常用基础应用知识总结
- Android(安卓)AlertDialog.Builder进入和退出动画效果设置