Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

problem while creating a function in the latest version of android studio

I am try to create a simple application in android studio version 4.1.1 and I have the JDK version 15 but when I start with a plain project template, in the main activity it is showing the override fun() and in the YOUTUBE when I see someone's code there is protected void instead of override fun() and when I write a function in my code starting with public void it is showing me the error in the code so can anyone help me to get out of this issue thanks in advance


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...