Supposedly, When first opening the app and pressing "Icon Next" the application does not Crash.
Initially I accidentally pressed the icon, suddenly directly causing the application to crash. But I try to repeat again to make sure, it turns out the error is really pure technical, the application still crashes.
The first time you open the app and press the "Next Icons" application instantly Crash.
05-29 00:34:33.551 16842 16842 E AndroidRuntime: FATAL EXCEPTION: main
05-29 00:34:33.551 16842 16842 E AndroidRuntime: Process: com.github.beenotung.musicplayer, PID: 16842
05-29 00:34:33.551 16842 16842 E AndroidRuntime: java.lang.IllegalArgumentException: n must be positive
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at java.util.Random.nextInt(Random.java:391)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at com.github.beenotung.musicplayer.MainActivity$PlayerContainer.next_song(MainActivity.java:947)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at com.github.beenotung.musicplayer.MainActivity$PlayerContainer$3.onClick(MainActivity.java:779)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at android.view.View.performClick(View.java:5647)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:22462)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:754)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at android.os.Looper.loop(Looper.java:163)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6361)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
05-29 00:34:33.551 16842 16842 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)