skip to Main Content

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


  1. Depending which Android Studio version you are using, if you are creating a new project, just choose Java as the programming language:

    enter image description here

    If you have an already created project, as pointed out above, you should be able to choose Java Class instead of Kotlin

    enter image description here

    Login or Signup to reply.
  2. Android Studio Flamingo | 2022.2.1:

    When some project already is opened:

    File -> New -> New Project... -> Basic Views Activity -> set Language to the Java -> Finish

    Or via Android Studio welcome screen:

    Basic Views Activity -> set Language to the Java -> Finish

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search