Android: Retrofit bug ArrayIndexOutOfBoundsException on Simulator


This is a crazy error I am getting that I am having an incredibly difficult time debugging. I have determined that it is thrown when trying to instantiate the Call object itself, and not when calling enqueue.
This error also doesn't occur on all of my Calls either, just on one in particular.
To solve you only have to disable Instant Run.
Settings → Build, Execution, Deployment → Instant Run and uncheck Enable Instant Run.
enter image description here

Android: Retrofit bug ArrayIndexOutOfBoundsException on Simulator Android: Retrofit bug ArrayIndexOutOfBoundsException on Simulator Reviewed by Ricardo Castellanos on 13:21 Rating: 5

No hay comentarios:

Con la tecnología de Blogger.