如何解决TransactionTooLargeException错误?

时间:2012-10-08 12:10:47

标签: android

当我点击列表视图的选定单元格时,我收到此TransactionTooLargeException,请任何人指导我如何解决这个问题?

我的错误日志是: -

Exception when starting activity   com.app.Login/com.app.New_Site_Risk_Assessment.Show_Selected_Images
10- android.os.TransactionTooLargeException
at android.os.BinderProxy.transact(Native Method)

at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:660)

at com.android.server.am.ActivityStack.realStartActivityLocked(ActivityStack.java:615)

at com.android.server.am.ActivityStack.startSpecificActivityLocked
at com.android.server.am.ActivityStack.resumeTopActivityLocked
at com.android.server.am.ActivityStack.completePauseLocked
at com.android.server.am.ActivityStack.activityPaused
at com.android.server.am.ActivityManagerService.activityPaused(ActivityManagerService.java:4131)

at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:371)

at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1548)
at android.os.Binder.execTransact(Binder.java:338)
at dalvik.system.NativeStart.run(Native Method)
Force removing ActivityRecord{41261b98 com.app.Login/com.app.New_Site_Risk_Assessment.Show_Selected_Images}: app died, no saved state

Force removing ActivityRecord{413329a8 com.app.Login/com.app.Qoute_Inbox.Qoute_Inbox_Display_Data}: app died, no saved state

1 个答案:

答案 0 :(得分:0)

通过意图发送数据时,应注意将数据大小限制为几KB。

发送太多数据可能导致系统引发TransactionTooLargeException异常。