Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not showing language option after selecting project template in Android Studio

The "New Project" wizard in Android Studio is not showing the "Language" option. I want to use Java, but it's forcing me to use Kotlin.

Language option is missing.

I am expecting to use Java for Android development. How can I make a Java project?

like image 345
Bisal Shah Avatar asked Jan 24 '26 13:01

Bisal Shah


1 Answers

You've selected a Jetpack Compose project template, and Jetpack Compose can only be used with Kotlin.

Specifically, you've selected the "Empty Activity" template shown below that has the Jetpack Compose logo on it:

"New Project" wizard with "Empty Activity" selected.  The image above "Empty Activity" displays the Jetpack Compose logo.

To solve this, select any template with "Views" in the name, or select the "No Activity" template. You'll be given the "Language" dropdown in any of those templates and will be able to select Java there:

New project wizard showing the configuration for an "Empty Views Activity" project.  A "Language" dropdown with "Java" and "Kotlin" options is present.

That said, Android development is becoming increasingly Kotlin-first; you may wish to consider trying Kotlin.

like image 109
Ryan M Avatar answered Jan 26 '26 03:01

Ryan M



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!