Android Studio始终以Java启动,不允许我使用Kotlin。如何修复这个问题?

huangapple go评论96阅读模式
英文:

Android Studio always starts with Java and won't let me start with Kotlin. How do I fix this?

问题

我刚刚安装了Android Studio,当我开始一个新项目时,它默认使用Java,尽管我已经选择了Kotlin。请帮忙。

我使用的是文件 - 新建 - 新项目。

英文:

I just installed Android Studio and when I start a new project it starts with Java even though I've selected Kotlin. Please help.

I'm using the file - new - new project

答案1

得分: 1

  • 在文件 - 新建 - 新项目之后,选择"Empty Activity"如果你想创建一个活动。

  • 在选择"Empty Activity"后,只需选择Kotlin语言,然后点击完成按钮,它将重定向到你的屏幕上的Kotlin项目。它会工作,因为在我的系统中它运行得很完美。

英文:
  • After file - new - new project select Empty Activity if you want to make a activity.

Android Studio始终以Java启动,不允许我使用Kotlin。如何修复这个问题?

  • After Empty Activity just select language Kotlin and click the finish button it will redirect your screen with kotlin project.

Android Studio始终以Java启动,不允许我使用Kotlin。如何修复这个问题?

It will work because in my system that's work perfetly.

huangapple
  • 本文由 发表于 2023年2月27日 12:59:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/75576893.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定