我在點擊標記,並試圖打開新的活動。我可以打開活動時,我不打算在信息putExtra
但是當我嘗試發送到第二個活動10串它表明我:使用putExtra時的活動未啓動()
07-12 19:40:04.508: W/ActivityManager(1251): Exception in new application when starting activity com.wunderlist.slidinglayersample/.Builder
07-12 19:40:04.508: W/ActivityManager(1251): android.os.TransactionTooLargeException
07-12 19:40:04.508: W/ActivityManager(1251): at android.os.BinderProxy.transactNative(Native Method)
07-12 19:40:04.508: W/ActivityManager(1251): at android.os.BinderProxy.transact(Binder.java:496)
07-12 19:40:04.508: W/ActivityManager(1251): at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:793)
07-12 19:40:04.508: W/ActivityManager(1251): at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked(ActivityStackSupervisor.java:1157)
07-12 19:40:04.508: W/ActivityManager(1251): at com.android.server.am.ActivityStackSupervisor.attachApplicationLocked(ActivityStackSupervisor.java:526)
07-12 19:40:04.508: W/ActivityManager(1251): at com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:6192)
07-12 19:40:04.508: W/ActivityManager(1251): at com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:6254)
07-12 19:40:04.508: W/ActivityManager(1251): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:481)
07-12 19:40:04.508: W/ActivityManager(1251): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2407)
07-12 19:40:04.508: W/ActivityManager(1251): at android.os.Binder.execTransact(Binder.java:446)
07-12 19:40:04.508: A/ActivityManager(1251): Exception thrown launching activities in ProcessRecord{b21e6f4 4200:com.wunderlist.slidinglayersample/u0a57}
07-12 19:40:04.508: A/ActivityManager(1251): android.os.TransactionTooLargeException
07-12 19:40:04.508: A/ActivityManager(1251): at android.os.BinderProxy.transactNative(Native Method)
07-12 19:40:04.508: A/ActivityManager(1251): at android.os.BinderProxy.transact(Binder.java:496)
07-12 19:40:04.508: A/ActivityManager(1251): at android.app.ApplicationThreadProxy.scheduleLaunchActivity(ApplicationThreadNative.java:793)
07-12 19:40:04.508: A/ActivityManager(1251): at com.android.server.am.ActivityStackSupervisor.realStartActivityLocked(ActivityStackSupervisor.java:1157)
07-12 19:40:04.508: A/ActivityManager(1251): at com.android.server.am.ActivityStackSupervisor.attachApplicationLocked(ActivityStackSupervisor.java:526)
07-12 19:40:04.508: A/ActivityManager(1251): at com.android.server.am.ActivityManagerService.attachApplicationLocked(ActivityManagerService.java:6192)
07-12 19:40:04.508: A/ActivityManager(1251): at com.android.server.am.ActivityManagerService.attachApplication(ActivityManagerService.java:6254)
07-12 19:40:04.508: A/ActivityManager(1251): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:481)
07-12 19:40:04.508: A/ActivityManager(1251): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2407)
07-12 19:40:04.508: A/ActivityManager(1251): at android.os.Binder.execTransact(Binder.java:446)
我甚至不知道從哪裏開始讀這一點,因爲我不知道發生了什麼事。我沒有在我的生活中遇到這個錯誤。它可能是像超時這樣的事情,我不能把意外的額外信息放在這麼多或者是別的什麼東西上。因爲我試圖用一個字符串發送大量的信息並且工作。但是當我把這麼多額外的信息,它只是崩潰。
如果你通讀它,你會發現從頂部的第二行錯誤的一部分,說'android.os.TransactionTooLargeException'減少你通過Extra發送的數據.. :) – scartag
這應該是一個答案,而不是評論。這是正確的答案。 – GreyBeardedGeek
是啊同意GreyBeardedGeek如果您發送您的評論作爲答案@scarag我會接受並感謝你。 :) – AndroidFreak