The emulator says that I need to update the google play services to run the apps and I found out that the emulator google play services version are 7.8.95 so I changed mine to 7.8.95 and it says Error:(25, 13) Failed to resolve: com.google.android.gms:play-services:7.8.95 so I Install Repository and sync project and its says
Ignoring unknown package filter 'extra-google-m2repository'Warning: The package filter removed all packages. There is nothing to install.
Please consider trying to update again without a package filter.
How to fix this?
i used the emulator from android studio and this is my gradle code
apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.example.lenovo.myapplication"
minSdkVersion 16
targetSdkVersion 24
versionCode 1
versionName "1.0"
multiDexEnabled true
}
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:26.0.0-alpha1'
compile 'com.google.android.gms:play-services:7.8.95'
compile 'com.android.support:design:26.0.0-alpha1'
compile 'com.android.support:cardview-v7:26.0.0-alpha1'
}
}