Android studio doesn't recognise source folders

前端 未结 4 1590
遇见更好的自我
遇见更好的自我 2021-02-01 11:50

I\'m using a standard Android Studio directory structure and I created different build types:

buildTypes {
    debug {
        runProguard false
        packageN         


        
4条回答
  •  被撕碎了的回忆
    2021-02-01 12:37

    Add this to your module's build.gradle file:

    sourceSets {
        main.java.srcDirs += 'src/preview/java'
        main.java.srcDirs += 'src/release/java'
    }
    

提交回复
热议问题