有谁能告诉我这个log-cat要求的是什么? 现在我正在尝试在android中使用一个网络服务(在dot-net 中完成)。 与此同时,该网络服务正在返回巨大的数据响应。当我调用该Web服务时,它返回的响应很少并且崩溃(应用程序停止运行)并显示下面的log-cat等问题。
建议
感谢您宝贵的时间!
logcat的
06-19 11:07:14.080: E/JavaBinder(2141): !!! FAILED BINDER TRANSACTION !!!
06-19 11:07:14.085: E/ActivityManager(2141): Second failure launching org.twinkletech.postcourier/.MainActivity, giving up
06-19 11:07:14.085: E/ActivityManager(2141): android.os.TransactionTooLargeException
06-19 11:07:14.085: E/ActivityManager(2141): at android.os.BinderProxy.transact(Native Method)
06-19 11:07:14.085: E/ActivityManager(2141): at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:742)
06-19 11:07:14.085: E/ActivityManager(2141): at com.android.server.am.ActivityStack.realStartActivityLocked(ActivityStack.java:842)
06-19 11:07:14.085: E/ActivityManager(2141): at com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:4535)
06-19 11:07:14.085: E/ActivityManager(2141): at com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:4613)
06-19 11:07:14.085: E/ActivityManager(2141): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:375)
06-19 11:07:14.085: E/ActivityManager(2141): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1752)
06-19 11:07:14.085: E/ActivityManager(2141): at android.os.Binder.execTransact(Binder.java:367)
06-19 11:07:14.085: E/ActivityManager(2141): at dalvik.system.NativeStart.run(Native Method)
06-19 11:07:14.155: E/Launcher(2659): Error finding setting, default accessibility to not found: accessibility_enabled
答案 0 :(得分:0)
您需要重新考虑客户端/服务器通信。此链接说明了正在进行的操作:http://developer.android.com/reference/android/os/TransactionTooLargeException.html