首页 > 解决方案 > SchedPolicy:set_timerslack_ns 写入失败:不允许操作

问题描述

当我运行我的 android 应用程序时,我在我的 Logcat 中遇到了这个问题。有谁知道这个问题以及如何解决它?

依赖项是:

    implementation 'com.android.support:appcompat-v7:25.3.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    implementation 'com.android.support:design:25.3.0'
    implementation 'com.android.support:cardview-v7:25.3.0'
    implementation 'com.android.volley:volley:1.0.0'
    implementation 'com.github.bumptech.glide:glide:3.7.0'
    implementation 'com.google.android.gms:play-services-maps:15.0.1'  
    implementation 'com.google.android.gms:play-services-location:15.0.1'
    implementation 'com.google.android.gms:play-services-places:15.0.1'
    implementation 'com.android.support:support-v4:25.3.0'
    implementation 'de.hdodenhof:circleimageview:2.1.0'
    implementation 'me.zhanghai.android.materialratingbar:library:1.0.2'
    implementation 'junit:junit:4.12'

标签: androidgoogle-maps

解决方案


我不确定确切的解决方案,但我通过避免使用 Dialog with Maps 解决了同样的问题。特别是当我们在地图动画或标记/折线绘制时显示对话框时。


推荐阅读