Hello, isn’t there any option to select Java/Kotli...
# android
p
Hello, isn’t there any option to select Java/Kotlin in new Android Studio (Flamingo). Is it by default Kotlin? Does anyone know how to select Java while creating a project?
z
Which template are you using where this selection is missing? For Jetpack Compose templates, Kotlin is the only option, as Compose is Kotlin-only.
(And on a side note, why are you looking to choose Java over Kotlin?)
👀 1
p
I wanted to run Java & XML legacy codes in new Android Studio (Flamingo) as there were some old projects. It was not running. So I had to use old Android Studio (Chipmunk).
z
Java projects should still work in Flamingo, whether existing or new projects. If you’re facing issues with that, it could be worth reporting it on the issue tracker. Did you have any specific errors or things that did not work in the project?
p
Okay then I will try rectifying the issues by updating the libraries.
Thanks @zsmb!! 🙌
s
when setting up the project you can select between groovy and kotlin in project setup
1
j
@Prajwal H S, make sure the JDK you're using is the one you used in Chipmunk, otherwise there might be some issues due to compatibility. File -> Project Structure -> SDK Location I had to set it to 1.8 on an old project. Default was 17 Not sure if we can change the default version for any new project we open in that AS version.
👍 1
p
Okay, thanks @Jorge Cordero Camarena!!
1