Solutions for this Chapter

I have noticed that the application crashes when compiling the project after adding the Image Buttons when the android:src attributes are added.

Can someone explain why GeoQuiz has stopped error could be happening?

I noticed to. How to solve this?

I didn’t see any such error like this …

You must change the declarations for nextButton and prevButton to ImageButtons.
private lateinit var prevButton: ImageButton
private lateinit var nextButton: ImageButton

Everything works fine for me