Reputation: 435
I updated my android studio to the flamingo version today, and I found it strange that there is no longer an option to select languages on the new project screen. Is this a bug? did I do something wrong? Or is there really no more support for the java language in Flamingo? How can I resolve this?
Thanks for any help! Unfortunately I didn't find any answer to this problem on the internet.
I do not know what to do.
Upvotes: 43
Views: 24975
Reputation: 612
I am using Android Studio Flamingo version. I also encountered the same issue. You should use other pre-defined activities to be able to select language type.
Ex: Empty Views Activity, Basic Views Activity, Bottom Navigation Views Activity etc.
Note:
I have attached a screenshot of it too.
Upvotes: 11
Reputation: 67
Till the moment I always used Empty Activity because I wanted the project clean and only put in it the things I wanted. With Basic Views Activity it generates too much unwanted features (2 fragments, 2 layouts for activity). I am absolutely lost with this new version and cannot find Electric Eel (the version I used before) anywhere to downgrade Android.
Upvotes: 0
Reputation: 18002
I can see it, probably you have chosen the templates for a compose activity which now are the default ones, if the app is in compose it can only use kotlin and I guess that's why if the compose option is selected it doesn't allow you to choose java then.
After selecting Empty Activity (in compose):
After selecting one of the traditional views options like the Basic Views Activity:
Upvotes: 22
Reputation: 851
On Android Studio Flamingo | 2022.2.1, you can select Empty Views Activity when creating a new project as shown below.
And you can still choose the Java or Kotlin language as usual.
Upvotes: 64