" APK" , "" . APK, , , "mobile-release.apk". settings.gradle include ':mobile', ':wear' present, build.gradle(Module: mobile)
dependencies {
wearApp project(':wear')
}
/,
, , !
, , Android Studio. Android Studio 1.1.0
APK . -, , SDK, API (API 22).
, APK - . Android. SDK API 18 (4.3 Jelly Bean, API, Android Wear). Mini Wear SDK API 20 (Android 4.4 KitKat Wear).
APK - . ! , - , Android .
, gradle , - . , , .
, : build.gradle(Project: anAppImade), build.gradle(Moduble: mobile) build.gradle(: ) ()
build.gradle(Project: anAppImade)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
}
}
allprojects {
repositories {
jcenter()
}
}
build.gradle(Moduble: mobile)
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.0"
defaultConfig {
applicationId "com.ppltalkin.anappimade"
minSdkVersion 18
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
wearApp project(':wear')
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.google.android.gms:play-services:6.5.87'
}
build.gradle(: )
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.0"
defaultConfig {
applicationId "com.ppltalkin.anappimade"
minSdkVersion 20
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.support:wearable:1.1.0'
compile 'com.google.android.gms:play-services-wearable:6.5.87'
}