После обновления моих сервисов Google Play до версии 28 я получаю эту ошибку. Я не уверен, почему это происходит, поскольку он отлично работал раньше.
вот мой файл build.gradle
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
applicationId "com.matsoltech.pakistancurrentaffairs"
minSdkVersion 10
targetSdkVersion 23
versionCode 11
versionName "2.1.1"
}
buildTypes {
release {
multiDexEnabled = true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('src/main/libs/universal-image-loader-1.9.3.jar')
compile files('src/main/libs/nineoldandroids-2.4.0.jar')
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:support-v4:23.1.0'
compile 'com.android.support:cardview-v7:23.1.0'
compile 'com.github.ksoichiro:android-observablescrollview:1.5.0'
compile 'com.google.android.gms:play-services:8.3.0'
compile 'com.mcxiaoke.volley:library:1.0.18'
compile 'com.google.android.gms:play-services-analytics:8.3.0'
}
и
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.google.gms:google-services:1.4.0-beta3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
Итак, может кто-нибудь скажет мне, где проблема? поскольку код работал до обновления GooglePlayServices.