未解决

PushService异常“ You cannot keep your settings in the secure settings.” #19391个回答

push_client_sdk_for_android 4.5.3 musicclient 2016-04-21

问:
百度push版本号:4.5.3.48 问题描述:安装完应用打开后在启动百度push Service的时候会出现下面的异常,想了解下大概是什么问题? 异常信息: 04-18 17:26:53.689 8203 8203 E AndroidRuntime: FATAL EXCEPTION: main 04-18 17:26:53.689 8203 8203 E AndroidRuntime: Process: com.music.indosat:bdservice_v1, PID: 8203 04-18 17:26:53.689 8203 8203 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.baidu.android.pushservice.PushService: java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings. 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:2905) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at android.app.ActivityThread.access$1900(ActivityThread.java:157) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1439) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5530) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622) 04-18 17:26:53.689 8203 8203 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings.
确认 取消
答:
请更新下SDK的版本,我们在4.5.5版本才适配的Android6.0

云平台_李克 2016-04-25