我用真机测试android,logcat输出停不下来,怎么回事

CHZiroy 2014-10-06 11:52:02
貌似我在手机上做做得任何操作都输出到logcat上了,好像兼职在调试整个android系统了,根本停不下来,怎么破

如下,,,,是其中一段

10-06 23:13:56.055: D/BluetoothAdapter(2674): 1109355176: getState() : mService = null. Returning STATE_OFF
10-06 23:13:56.055: D/DisplayPowerController(2594): setBrightness mPendingRequestLocked.buttonBrightness = 61
10-06 23:13:56.075: D/RampAnimator(2594): animateTo reallyTarget is 1012rate is 25mode is 0
10-06 23:13:56.080: D/DisplayPowerController(2594): setBrightness mPendingRequestLocked.buttonBrightness = 61
10-06 23:13:56.080: D/PowerManagerService(2594): set home button brightness by screen_brightness = 112
10-06 23:13:56.270: V/AudioPolicyManager(2142): getDeviceForStrategy() from cache strategy 1, device 1
10-06 23:13:56.270: D/chenfang_volume(2594): getStreamVolume = 150
10-06 23:13:56.275: D/PowerManagerService(2594): set home button brightness by screen_brightness = 111
10-06 23:13:56.275: D/DisplayPowerController(2594): requestPowerState: screenState=2, useProximitySensor=false, screenBrightness=102, screenAutoBrightnessAdjustment=0.0, useAutoBrightness=true, blockScreenOn=false, buttonBrightness=60, adjustByUserInAutoBrightness=false, isTurnOnAction=true, waitForNegativeProximity=false
10-06 23:13:56.280: D/RampAnimator(2594): animateTo reallyTarget is 1012rate is 25mode is 0
10-06 23:13:56.280: D/DisplayPowerController(2594): setBrightness mPendingRequestLocked.buttonBrightness = 60
10-06 23:13:56.285: D/BluetoothAdapter(2674): 1109355176: getState() : mService = null. Returning STATE_OFF
10-06 23:13:56.290: D/RampAnimator(2594): animateTo reallyTarget is 1012rate is 25mode is 0
10-06 23:13:56.290: D/DisplayPowerController(2594): setBrightness mPendingRequestLocked.buttonBrightness = 60
10-06 23:13:56.290: D/PowerManagerService(2594): set home button brightness by screen_brightness = 111
10-06 23:13:56.500: V/AudioPolicyManager(2142): getDeviceForStrategy() from cache strategy 1, device 1

...全文
575 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
svenwang 2014-10-07
  • 打赏
  • 举报
回复
你是把log写在频繁调用的函数里了吧。
友谊路一霸 2014-10-07
  • 打赏
  • 举报
回复
这些Log都是系统或者其他后台运行的app打印的,你可以自己添加一个Logcat Filter(根据Log Tag或者是Appliction Name来筛选Log)
Kifile 2014-10-07
  • 打赏
  • 举报
回复
首先,你要排除机型问题,你现在虚拟机上试试,看看是否同样有问题. 如果还是有问题,那就检查一下自己初始化的逻辑,看你的 log 信息很多都是蓝牙,声音,电源之类的服务管理信息,;你是否有后台服务或者线程一直在轮询,处理他们
CHZiroy 2014-10-06
  • 打赏
  • 举报
回复
我用的是meizu mx3

80,471

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧