Android - compile Google play service and sync -




i'm struggling compile google play service. i've got updated , there problem can't understand. when put

compile 'com.google.android.gms:play-services:11.0.4' 

and try sync there problem with

compile 'com.android.support:appcompat-v7:25.3.1' 

it's giving me message:

"all com.android.support libraries must use exact same version specification (mixing versions can lead runtime crashes). found versions 25.3.1, 25.2.0. examples include com.android.support:animated-vector-drawable:25.3.1 , com.android.support:mediarouter-v7:25.2.0 less... (ctrl+f1) there combinations of libraries, or tools , libraries, incompatible, or can lead bugs. 1 such incompatibility compiling version of android support libraries not latest version (or in particular, version lower targetsdkversion.)"

this updated version of google play services. i'm not clear why wrong.

from release notes:

when upgrade app’s play services dependencies 11.2.0 or later, app’s build.gradle must updated specify compilesdkversion of @ least 26 (android o). not change way app runs. not required update targetsdkversion. if update compilesdkversion 26, may receive error in build following message referring android support library:

this support library should should not use different version (25) compilesdkversion (26).

this support library should should not use different version (25) compilesdkversion (26). error can resolved upgrading support library dependencies @ least version 26.0.0.

the solution update support library version 26.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -