Rxjava2+Retrofit2和Instant Run导致冲突

518 阅读1分钟

报错信息:

Throwing new exception 'length=257; index=1618' with unexpected pending exception: java.lang.ArrayIndexOutOfBoundsException: length=257; index=1618

测试时在android 6.0系统报错;7.0和8.0正常运行。

解决方法:关闭Instant Run