android - 重用谷歌地图片段时获取“ E/libprocessgroup: set_timerslack_ns write failed: Operation not allowed”
问题描述
我在地图活动中输入两次时出现错误“E/libprocessgroup:set_timerslack_ns 写入失败:不允许操作”o 日志。
首次使用 Activity 时,一切正常。在第二个条目上,此日志错误会在 UI 上产生 ANR。
也许可能是内存泄漏。卸载应用程序,错误消失(我们第一次导航到活动)。日志:
V/Location callback received: Latitude: Location[fused 28,473400,-16,287836 hAcc=20 et=+3d2h56m22s245ms alt=367.6776675563817 vel=0.024176978 bear=170.34872 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}].latitude - Longitude Location[fused 28,473400,-16,287836 hAcc=20 et=+3d2h56m22s245ms alt=367.6776675563817 vel=0.024176978 bear=170.34872 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}].longitude
I/Counters: exceeded sample count in FrameTime
I/Counters: exceeded sample count in FrameTime
V/FA: Inactivity, disconnecting from the service
I/SurfaceControl: release : mNativeObject = 489127606176 - Surface(name=Surface(name=f1a9282 InputMethod)/@0xd63efda - animation-leash)/@0x5ae4e2 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
nativeRelease nativeObject s[489127606176]
nativeRelease nativeObject e[489127606176]
release : mNativeObject = 489127606080 - Surface(name=Surface(name=1d24045 NavigationBar0)/@0xbb3e85 - animation-leash)/@0x37ba4fa / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
I/SurfaceControl: nativeRelease nativeObject s[489127606080]
nativeRelease nativeObject e[489127606080]
I/SurfaceControl: release : mNativeObject = 489127605984 - Surface(name=Surface(name=87068ec StatusBar)/@0x27769ce - animation-leash)/@0xb459aab / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
nativeRelease nativeObject s[489127605984]
nativeRelease nativeObject e[489127605984]
I/ViewRootImpl@45dda20[RouteStartedActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1
E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted
解决方案
推荐阅读
- amazon-web-services - 如何使用 AWS Powershell 工具获取入口规则中允许的安全组 ID?
- html5-canvas - Fabricjs中鼠标悬停对象时如何显示对象边界框?
- delphi - 删除元生成器 MSHTML
- azure - 如何在 Azure API 管理开发者门户中禁用 try it 功能?
- python-3.x - 类在 Python 中没有属性
- php - PHP 使用 in_array 来检查另一个数组的数组
- android - 在 ARCore 中修改相机源
- android - 保持 Facebook 访问令牌始终处于活动状态
- java - jaxb 依赖项的 Java 11 问题
- python - 更改一个实例如何会更改 NURBS-python/geomdl 中的所有其他实例?