So, I just installed Android Studio for programming after a long time. I created a new project, but it is getting created in Kotlin language, and I want Java language. I tried everything on my side, but it still doesnt work. Please help, I’m new to all this stuff.
I tried changing JDK versions, path in Gradle, but still it isnt working.
2
Answers
Depending which Android Studio version you are using, if you are creating a new project, just choose Java as the programming language:
If you have an already created project, as pointed out above, you should be able to choose Java Class instead of Kotlin
Android Studio Flamingo | 2022.2.1:
When some project already is opened:
File
->New
->New Project...
->Basic Views Activity
-> setLanguage
to theJava
->Finish
Or via Android Studio welcome screen:
Basic Views Activity
-> setLanguage
to theJava
->Finish