简体   繁体   中英

Android, JUnit Tests, and FAILED BINDER TRANSACTION

I have a large number of tests. When I add a few more, I get E/JavaBinder(1705): !!! FAILED BINDER TRANSACTION !!! E/JavaBinder(1705): !!! FAILED BINDER TRANSACTION !!! . How do I fix this? My current hack is to have multiple test TestSuite s that only test a select subset of my tests. There has to be a better way to do this. Suggestions?

Found this question and response , which indicates that SDK tools v8 has fixed this issue. I was running tests on an old phone with Android 2.1 (ie, SDK v7). Newer phones should likely not encounter this issue; after using a Nexus phone running Android 4 for my tests, I no longer encountered the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM