What's wrong with my audio record function in Android Studio?
Hello there I'm trying to program a audio-record function in Android Studio, but something is wrong. The app crashes, when I call this function from an button click. The idea would be, that the audio stops again, when I click the button again. But the start function never starts I also added the MediaRecorder.java file. There are tons of errors in it and I don't know where to start. When I build the app, the builder doesn't say anything about these hundreds of errors in this Java file. Maybe they're not relevant? My app is written in kotlin. Please, can you guys help me? Thank you so much for your answers. Kind regards Peter https://code.sololearn.com/c2UoO75dJc8O/?ref=app https://code.sololearn.com/cQkp1rZIRay0/?ref=app