I'm trying to make google maps application in android. I've installed Google Play Services in SDK manager. When I'm running that app there's error text in emulator:
App won't run unless you update Google Play services
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "ge.currencyexchange"
minSdkVersion 9
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.google.android.gms:play-services:8.3.0'
}
I've tried change compile 'com.google.android.gms:play-services:8.3.0'
to compile 'com.google.android.gms:play-services:5.0.+'
but after debug it throws an error about theme and in AVD everything is same
What can I do?
minSdkVersion 15
– IntelliJ Amiyaclasspath
– IntelliJ Amiya