Creating resource files for different build types on Android studio

后端 未结 1 1008
别跟我提以往
别跟我提以往 2021-02-05 11:08

So I upgraded to Android Studio 0.8.14 and I already know that I can create a new folder on my module app/src/newbuildtype and there I can create the folders java and res specif

1条回答
  •  醉酒成梦
    2021-02-05 11:25

    So I found that I can create a app/debug/res folder by right-clicking on my module, selecting this options from menu New->Folder->Res Folder Res folder create Res folder creation wizard

    After that you can create, let's say the values folder by right-clicking on my app module -> New->XML->Values folder and selecting my build type

    Menu selection to create values folder

    Build type selection

    And there you have created your values folder on debug build type, that now appears like this Resource files project tree

    0 讨论(0)
提交回复
热议问题