[Solved] ArrayIndexOutOfBounds in android [duplicate]


change

 for (int i = 0; i <= resultArray.size(); i++) {

into:

 for (int i = 0; i < resultArray.size(); i++) {

you can use for(String s: resultArray){...} as well, if you don’t care about the index so much…

1

solved ArrayIndexOutOfBounds in android [duplicate]