New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArrayIndexOutOfBoundsException on call instance. #1506
Comments
This is a bug in the Android Gradle plugin 2.0.0-alpha6. Reverting to alpha3 will fix it. See #1486 for more info and a link to the bug filed on b.android.com. |
I encountered this issue, when I am using Mars-mallow. I do not have an issue using Lollipop. I disabled the Instant Run from Android Studio and the problem is gone. |
Guys, this issue does have any relation with Retrofit I think. @OverRide Still my instant code running is enabled and everything is as by default. Hope this will help someone. |
I also have this issue |
I have same issue with 'com.android.tools.build:gradle:3.0.1' |
I have the same issue, gradle is 3.0.1 |
Disabling of instant run solves this error I faced the same while running app on Emulator with API 23. just Disable Instant Run and this error disappear and app works fine. |
why when i dissabled the instant run ,but it's also occur. |
Ok, looks like the instant run tip is the perfect solution for this. It worked for me! |
Disabling the instant run is not a solution unfortunately. It's a workaround and it should be fixed by next updates. |
Try to Disable Instant Run |
This appears to still be an issue with Marshmallow devices, yes disabling Instant run is a work around but not a fix. |
When I faced the issue I was using next versions of the libraries:
gradle:
and was initializing
But changing of
|
I started to get this error message after upgrading to retrofit:2.0.0-beta3. Not sure if that's the culprit or what since reverting to previous version doesn't seem to make a difference. Just in case the fault was in my retrofit code, i copied the sample code and ran it with the same result.
I only get it on marshmallow devices.
Line 94 refers to Call<List> call = github.contributors("square", "retrofit");
That line is called inside an GenericAsyncTaskLoader (https://gist.github.com/HenokT/7873979)
Calling it in a normal AsyncTask doesn't produce an error.
The text was updated successfully, but these errors were encountered: