Home > Mobile >  Android development, in the android project in the studio.. Java file is a more. Kt file of the same
Android development, in the android project in the studio.. Java file is a more. Kt file of the same

Time:09-19

Dear bosses, who worked in android development, the younger brother didn't before, recently the company claim to be a page style, I found when I change, I need to be modified. In the project and a Java file. Kt suffix file of the same name, content is consistent with Java file, the problem is, I modify the code, with the need. Kt document change together, where the file, each Java file has a name of the file, very strange, no contact for android, please brother I doubt is!!!!!!
As shown in the figure below:

CodePudding user response:

Kt is Kotlin type suffix you this project should be use Kotlin engineering projects

CodePudding user response:

Kotlin file, you need to install the kotlin environment

CodePudding user response:

Kotlin written grammar

CodePudding user response:

refer to the second floor BDMH response:
kotlin file, you need to install the kotlin environment
I don't want this type of file, need only. Java file to go, what to do, delete it directly, I get it from the SVN code is not this type of file

CodePudding user response:

reference 1st floor usecf response:
kt is Kotlin types of suffix you this project should be in Kotlin project
I don't know how to become like this, and imported more than these, can be directly deleted

CodePudding user response:

Give it a try, install kotlin environment, converts kotlin code into Java code

CodePudding user response:

Android studio with the kotilin Java file can be transformed into kt file, there is a corresponding Java files, you backup to delete the next, personal think the problem is not big
  • Related