I create a project with free and professional versions of productFlavors and use a different string resource file for different publications, the folder design is cc.png.
If I change the Build Variant in the panel, the values ββon the Android tab display two .xml (2) lines, one is in the main folder, the other is free or about the folder, you can see aa.png and bb.png.
I hope all the string file files can be displayed together, three string.xml (3) files will be displayed on it, first the main folder is located, sencond is the free folder, and the third is about the folder. How can i do this? Thanks!
CC.png

AA.png

BB.png

build.gradle
apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "22.0.1" defaultConfig { applicationId "info.dodata.messagecleanup" minSdkVersion 9 targetSdkVersion 22 versionCode 7 versionName "1.07" archivesBaseName = "MessageCleanup-V" + versionName } productFlavors { free { applicationId "info.dodata.messagecleanup" buildConfigField "String", "AppName", "\"Message Cleanup\"" } pro { applicationId "info.dodata.messagecleanup.pro" buildConfigField "String", "AppName", "\"Message Cleanup Pro\"" } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.google.android.gms:play-services:7.3.0' }
source share