码迷,mamicode.com
首页 >  
搜索关键字:logcat    ( 648个结果
如何使用DDMS
Android DDMS如何使用?DDMS 的全称是Dalvik Debug Monitor Service,它为我们提供例如:为测试设备截屏,针对特定的进程查看正在运行的线程以及堆信息、Logcat、广播状态信息、模拟电话呼叫、接收SMS、虚拟地理坐标等等。如何启动 DDMSDDMS 工具存放在S...
分类:其他好文   时间:2014-12-15 18:54:01    阅读次数:159
如何过滤 adb logcat 输出(转载)
转自:http://www.cnblogs.com/imouto/archive/2012/12/11/filtering-adb-logcat-output.html 简介:本文介绍如何在 shell 命令行中过滤 adb logcat 输出的几个小技巧。开发当中经常看到别人的 log 如洪...
分类:数据库   时间:2014-12-12 20:50:01    阅读次数:203
android设备打印过滤log的方法
在android设备中,我们可以通过如下方式获取到设备log: adb logcat -v time 但是我们通过这种方式得到了很多对我们无用的log。所以我们可以通过如下方式对log进行过滤: adb logcat -v time -s "TAG" -S:代表只得到TAG所对应的log。 或者: adb logcat |grep -v "TAG1" |grep -v "TAG2" -V:代表在所有log中,不显示TAG1所对应的log。...
分类:移动开发   时间:2014-12-12 19:19:15    阅读次数:153
通过adb命令打印log
1、adb logcat --打印当前设备上所有日志2、adb logcat | findstr *** --过滤仅含***的日志3、adb logcat *:W --过滤打印严重级别W及以上的日志4、adb logcat | findstr *** > F:\lo...
分类:数据库   时间:2014-12-12 10:00:10    阅读次数:198
Appium运行时,error: Logcat capture failed: spawn ENOENT的解决办法
目前发现有以下两种可能:一:查看环境变量是否配置成功。ANDROIDSDK D:\my_2_softwares\JAVA\adt-bundle-windows-x86-20140702\sdkPARH ;C:\Program Files\Java\jdk1.8.0_20\bin;%ANDROID.....
分类:移动开发   时间:2014-12-11 15:41:29    阅读次数:783
NFC log
root:/ # logcat | grep -i nfc I/BackupManagerService( 2320): Scheduling backup for new app com.android.nfcD/BackupManagerService( 2320): Now staging b...
分类:其他好文   时间:2014-12-11 12:00:32    阅读次数:683
统计日志中ip出现的次数
grep -r 'GET /weixin/weixin_izp/index.html' ./chunyun.access.log > ~/access.logcat access.log |awk '{print $1}'|cut -d, -f3|sort|uniq -c > mycount.lo....
分类:其他好文   时间:2014-12-11 11:41:25    阅读次数:197
Android进程详解
Android进程详解 当一个应用启动的时候,如果这个应用没有其它组件已经在运行了,那么系统就会为这个应用启动一个新的Linux进程,这个进程只有一个线程,即我们熟知的main线程。默认情况下,一个应用的所有组件都运行在一个进程和线程(main)中。这点从Logcat的打印信息可以看出,Logcat视图中的Application那一栏,打印的是当前应用的进程的name值,而通常情况下是打...
分类:移动开发   时间:2014-12-10 22:53:48    阅读次数:300
android 中Log - 简单使用
例如,我们可以使用'Log.d'进行Debug,在java代码中输入Log.d(String tag, String message),tag为自己命名的tag,message为待输出的信息.然后打开 LogCat,通过'Add a new logcat filter'创建一个过滤器,filter-...
分类:移动开发   时间:2014-12-09 21:07:57    阅读次数:184
一键完成安卓手机日志收集和屏幕截图
批处理脚本 android_gather.bat set curDateStr=%date:~0,4%%date:~5,2%%date:~8,2%0%time:~1,1%%time:~3,2%%time:~6,2%adb logcat -d > android_%curDateStr%.logadb...
分类:移动开发   时间:2014-12-06 10:06:08    阅读次数:258
648条   上一页 1 ... 50 51 52 53 54 ... 65 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!