Today I started to mess around with android studios and I am a big noob in programming in
general (and I used kotlin for info). I just wanted to make an app with a button which pressed will make a sound. I went through a tutorial but than this problem occurred. The Mediaplayer can’t be created but I really don’t know why. I tested many things than but as it is know it should work. It is so simple but why does it not work?
on the bottom left are the errors and on my face is pure desperation