Renaming “java” directory to “kotlin” in Android Studio

后端 未结 7 1071
挽巷
挽巷 2021-01-31 01:40

My android project is written 100% in Kotlin and I wanted to rename the java directory to kotlin to be consistent. I added

sourceSets{
    main.java.srcDirs +=         


        
7条回答
  •  面向向阳花
    2021-01-31 02:22

    I have the same. It happens only in "Android" view. When I navigate to that folder in Finder it's named 'kotlin'. Looks like it's a bug in the Android studio.

提交回复
热议问题