As the error message says, you are trying to parse an empty
string into an integer. That won't work, because an empty string cannot meaningfully be parsed into an integer. (What number would you expect that "" means?).
It probably happens in this line:
score.get(i) returns an empty string.
Why: Because you are setting the content of the
score list in the
onCreate method. At that point, the text boxes are all still empty.
By the way, the
String.valueOf(...) is not necessary, since
score.get(...) already returns a String. No need to convert a String to a String! You could just as well do this:
(And why do you have so many unnecessary extra parentheses in your code?).