Skip to content
Advertisement

Tag: arrayindexoutofboundsexception

Unable to start activity: java.lang.ArrayIndexOutOfBoundsException

Everyone, hi! Friends, when you click on the button, a new activity does not start. The following exception occurs: java.lang.ArrayIndexOutOfBoundsException. The log of my error is presented below: Program code for MainActivity.java Program code for PlayerActivity.java: If I understand correctly, then the error is in the following lines: But… I do not know how to fix the error. Could you

Advertisement