apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "26.0.0" defaultConfig { applicationId "jp.sfjp.gokigen.a01c" minSdkVersion 14 targetSdkVersion 25 versionCode 19 versionName "1.2.1" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } productFlavors { wear1 { // Use the defaultConfig value minSdkVersion 14 } wear2 { minSdkVersion 23 } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) wearApp project(path: ':wear') provided 'com.google.android.wearable:wearable:2.0.3' compile 'com.google.android.support:wearable:2.0.3' compile 'com.google.android.gms:play-services-wearable:11.0.2' compile 'com.android.support:animated-vector-drawable:25.3.1' compile 'com.android.support:percent:25.3.1' compile 'com.android.support:support-vector-drawable:25.3.1' compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:preference-v7:25.3.1' compile 'com.android.support:exifinterface:25.3.1' compile 'com.android.support:support-v4:25.3.1' }