HTC Sense崩溃添加快捷方式

时间:2011-11-04 08:45:46

标签: android crash htcsense

我得到了反馈,如果用户创建快捷方式,HTC Sense在某些HTC设备上会崩溃(长按主屏幕 - >点击 app - > app selection )我们的应用程序。

大多数其他应用都不会发生这种情况,但在谷歌搜索后,我也看到了其他一些应用的报告(herehere

也许这是Sense的错误,但我真的想为我的应用修复它。

有些想法或经验如何做到这一点?

我还添加了崩溃日志。

11-02 14:27:18.180: ERROR/AndroidRuntime(4997): FATAL EXCEPTION: main
11-02 14:27:18.180: ERROR/AndroidRuntime(4997): java.lang.ClassCastException: android.text.SpannedString
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.htc.launcher.Launcher.completeAddApplication(Launcher.java:2635)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.htc.launcher.Launcher.onActivityResult(Launcher.java:1008)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.htc.launcher.Launcher$AddToHomeItemClickListener.onItemClick(Launcher.java:5876)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.htc.launcher.AddWidgetLayout$AddOnClickListener.onItemClick(AddWidgetLayout.java:153)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.htc.widget.HtcAdapterView.performItemClick(HtcAdapterView.java:379)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.htc.widget.HtcListViewCore.performItemClick(HtcListViewCore.java:5036)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.htc.widget.HtcAbsListView$PerformClick.run(HtcAbsListView.java:2010)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at android.os.Handler.handleCallback(Handler.java:587)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at android.os.Handler.dispatchMessage(Handler.java:92)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at android.os.Looper.loop(Looper.java:143)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at android.app.ActivityThread.main(ActivityThread.java:4196)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at java.lang.reflect.Method.invokeNative(Native Method)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at java.lang.reflect.Method.invoke(Method.java:507)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
11-02 14:27:18.180: ERROR/AndroidRuntime(4997):     at dalvik.system.NativeStart.main(Native Method)

几秒钟后:

11-02 14:27:19.501: ERROR/ActivityManager(1326):     at java.lang.ProcessManager.exec(ProcessManager.java:224)
11-02 14:27:19.501: ERROR/ActivityManager(1326):     at java.lang.ProcessBuilder.start(ProcessBuilder.java:202)
11-02 14:27:19.501: ERROR/ActivityManager(1326):     at com.android.server.am.ActivityManagerService.logProcessResult(ActivityManagerService.java:7562)
11-02 14:27:19.501: ERROR/ActivityManager(1326):     at com.android.server.am.ActivityManagerService.access$1000(ActivityManagerService.java:203)
11-02 14:27:19.501: ERROR/ActivityManager(1326):     at com.android.server.am.ActivityManagerService$12.run(ActivityManagerService.java:8028)
11-02 14:27:19.501: ERROR/ActivityManager(1326): Caused by: java.io.IOException: No such file or directory
11-02 14:27:19.501: ERROR/ActivityManager(1326):     at java.lang.ProcessManager.exec(Native Method)
11-02 14:27:19.501: ERROR/ActivityManager(1326):     at java.lang.ProcessManager.exec(ProcessManager.java:222)
11-02 14:27:19.501: ERROR/ActivityManager(1326):     ... 4 more

0 个答案:

没有答案