+ 1
How to solve these errors in my speech-recognition functions?
Hello guys, I saw a video on YouTube and here a Code, there a Code. Now I have the following Code in my fragment_home.kt file and some errors. Can anyone hekp me and tell, how to solve them? Following the Code link and a few screenshots Thank you for your help. Kind regards Errorguy https://code.sololearn.com/ca21A152a16A/?ref=app https://www.sololearn.com/post/1037203/?ref=app https://www.sololearn.com/post/1037202/?ref=app
7 Answers
0
Errorguy hello,
Your error comes while you are trying to override a function in the top level which means with out parent class that extends super class so
All you need to do is put that override in proper activity
```kt
class ActivityName : AppCompatActivity(){
override fun ...
}
```
+ 1
Ananiya Jemberu sorry
+ 1
Thank you very much, Ananiya Jemberu
0
genius, android on sololearn doesn' t work
0
you can' t create an operative system on sololearn nor try to use it to elaborate anything
for that you need to use a right java code editor like eclipse and create what you want
0
Gabriele Giambrone I am programming this app in Android Studio.
0
Gabriele Giambrone please be nice to the community! and he is not asking why it is not working there instead he is asking why the error show up on android studio.