android - Google Play Service out of date error -
i've got problem google-play-service. i'm using google-api oauth2 authentication , calendar/gmail information. yesterday worked fine, today tells me need newer version of google play service. android studio had updated packages morning. here error-line logcat if start contact googleapi:
09-22 11:59:01.692: w/googleplayservicesutil(2819): google play services out of date. requires 9683000 found 9452480
here grade.build:
apply plugin: 'com.android.application' android { signingconfigs { config { keyalias xxxxx keypassword xxxx storefile file(xxxx) storepassword xxxxx } } compilesdkversion 23 buildtoolsversion '22.0.1' defaultconfig { applicationid xxxx minsdkversion 14 targetsdkversion 22 signingconfig signingconfigs.config vectordrawables.usesupportlibrary = true } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' signingconfig signingconfigs.config } debug { debuggable false jnidebuggable false signingconfig signingconfigs.config renderscriptdebuggable false } } productflavors { } } dependencies { compile filetree(include: ['*.jar'], dir: 'libs') compile('com.google.api-client:google-api-client-android:1.22.0') { exclude group: 'org.apache.httpcomponents' } compile('com.google.apis:google-api-services-gmail:v1-rev48-1.22.0') { exclude group: 'org.apache.httpcomponents' } compile('com.google.apis:google-api-services-calendar:v3-rev212-1.22.0') { exclude group: 'org.apache.httpcomponents' } compile 'com.android.support:appcompat-v7:23.2.1' compile 'com.google.firebase:firebase-crash:9.6.0' compile 'joda-time:joda-time:2.4' compile 'com.google.android.gms:play-services-auth:9.6.0' compile 'pub.devrel:easypermissions:0.1.5' compile 'com.android.support:support-v4:23.4.0' compile 'com.android.support:support-vector-drawable:23.4.0' } apply plugin: 'com.google.gms.google-services'
i'm using com.google.android.gms:play-services-auth version 9.6.0. dont can change version.
i tried toast out version number , gaves me 213xxxx with:
int test = r.integer.google_play_services_version; string test2 = test+""; toast.maketext(this,test2, toast.length_short).show();
but error messages shows me different version numbers:
09-22 13:28:26.145: w/googleplayservicesutil(3334): google play services out of date. requires 9683000 found 9452480
many thanks, j. doe ;)
i think there open issue error receive "google play services out of date on api 23" also, kind of issue came out during 2013 when update sdk 18. check link of issue know more it.
what can suggest update dependency on latest version. after update it, create new virtual device/emulator when testing application. try use x86-64 version of api 23.
Comments
Post a Comment