What Product Flavor does Android Studio build by default in build.gradle?

前端 未结 5 1753
小鲜肉
小鲜肉 2020-12-04 10:50

We have an Android project that uses the new Gradle build system, and we use Android Studio as a development tool. When there are several product flavors specified in

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 11:22

    On the lower left of the Studio window there's a docked view called "Build Variants".

    Open it and choose whichever variant you want to work on. This will impact which variant is built but also the enabled source folders, which will drive completion in code and resources editors.

提交回复
热议问题