您正在使用第三方库开发应用程序。我无法创建服务,而日志猫显示它是由客户端异常引起的,并且sdk指南将其表示为:此类抛出特定于错误的异常发生在SDK内。有没有办法处理sdk中的错误。请让我知道你的想法 logcat的:
10-03 16:59:48.288: E/AndroidRuntime(14268): FATAL EXCEPTION: main
10-03 16:59:48.288: E/AndroidRuntime(14268): java.lang.RuntimeException: Unable to create service com.xyz.android.ui.service.security.UserLoginService: com.xyz.android.core.exception.xyz ClientException
10-03 16:59:48.288: E/AndroidRuntime(14268): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2697)
10-03 16:59:48.288: E/AndroidRuntime(14268): at android.app.ActivityThread.access$1700(ActivityThread.java:159)
10-03 16:59:48.288: E/AndroidRuntime(14268): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1404)
10-03 16:59:48.288: E/AndroidRuntime(14268): at android.os.Handler.dispatchMessage(Handler.java:99)
10-03 16:59:48.288: E/AndroidRuntime(14268): at android.os.Looper.loop(Looper.java:137)
10-03 16:59:48.288: E/AndroidRuntime(14268): at android.app.ActivityThread.main(ActivityThread.java:5419)
10-03 16:59:48.288: E/AndroidRuntime(14268): at java.lang.reflect.Method.invokeNative(Native Method)
10-03 16:59:48.288: E/AndroidRuntime(14268): at java.lang.reflect.Method.invoke(Method.java:525)
10-03 16:59:48.288: E/AndroidRuntime(14268): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
10-03 16:59:48.288: E/AndroidRuntime(14268): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
10-03 16:59:48.288: E/AndroidRuntime(14268): at dalvik.system.NativeStart.main(Native Method)
10-03 16:59:48.288: E/AndroidRuntime(14268): Caused by: com.xyz.android.core.exception.xyzClientException
10-03 16:59:48.288: E/AndroidRuntime(14268): at com.xyz.android.config.XyzApplicationConfig.getHostContext(XyzApplicationConfig.java:160)
10-03 16:59:48.288: E/AndroidRuntime(14268): at com.xyz.android.core.service.SecurityManagerService.<init>(SecurityManagerService.java:117)
10-03 16:59:48.288: E/AndroidRuntime(14268): at com.xyz.android.ui.service.security.UserLoginService.onCreate(UserLoginService.java:100)
10-03 16:59:48.288: E/AndroidRuntime(14268): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2687)
答案 0 :(得分:0)
查找为您提供com.xyz.android.ui.service.security.UserLoginService
的任何图书馆的技术支持,并询问他们com.xyz.android.core.exception.xyzClientException
是什么。