Skip to main content

Posts

Showing posts from January, 2017

Multiple apk based on Flavours in Android Studio

Step 1. Create Android Studio Project Step 2. Go to the build.gradle file in the app module then add Flavours in that file productFlavors { demo { applicationIdSuffix ".demo" resValue "string" , "app_name" , "Demo App" } full { applicationIdSuffix ".full" resValue "string" , "app_name" , "Full App" } } after changes sync gradle ,their will be option Build Variants their we can switch demo / full application build Full Source code of build.gradle apply plugin : 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { // applicationId "com.example.nithin.flavoursample" // minSdkVersion 14 // targetSdkVersion 25 // versionCode 1 // versionName "1.0" // testInstrumentationRun...