Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/192.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 绑定器事务失败,未触及任何内容_Android_Libgdx - Fatal编程技术网

Android 绑定器事务失败,未触及任何内容

Android 绑定器事务失败,未触及任何内容,android,libgdx,Android,Libgdx,昨天,该应用程序发布良好。今天的首次发布给了我: .android E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!! D/Error﹕ ERR: TOTAL BYTES WRITTEN: 1394196 E/AndroidRuntime﹕ Error reporting crash android.os.TransactionTooLargeException at android.os.BinderProxy.transactNative(Nat

昨天,该应用程序发布良好。今天的首次发布给了我:

.android E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!!
 D/Error﹕ ERR: TOTAL BYTES WRITTEN: 1394196
E/AndroidRuntime﹕ Error reporting crash
android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(Binder.java:496)

我从昨天起就没碰过密码。。是什么原因导致了这种情况?

任何活页夹事务都有1 MB的限制。
如果你需要发送比这个更大的东西,比如一个屏幕截图,那么你最好存储这个屏幕截图并发送一个URL,通过提供商访问它。

传递文件的uri而不是字节[]

我的“狂野”猜测是你传递的是一个大(大小)的东西,可能是一个大的图像作为字节[]。。数据意图所能容纳的数据量是有限制的,因此如果是这样的话,发布您的代码,人们可能会帮助您。您的“疯狂”猜测是相当不错的。我传递了一个屏幕截图,正如你用byte[]描述的那样,通过控制该方法将其整理出来。