After update - crash com.google.android.gms:play-services:5.2.8

前端 未结 6 1518
心在旅途
心在旅途 2021-01-07 20:06

my dependencies:

compile \"com.android.support:appcompat-v7:20.+\"
compile \'com.google.android.gms:play-services:5.2.08\'
compile \'com.android.support:supp         


        
6条回答
  •  鱼传尺愫
    2021-01-07 20:27

    The version you are looking for is 5.2.08.

    Android Studio will automatically offer to upgrade it to the new version. However, due to a bug, it drops the leading zero in "08", which means it replaces the dependency with "5.2.8" instead of "5.2.08" which does not work. To fix this, edit the dependency to read "5.2.08" instead of "5.2.8"

    This will work:

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

    source: http://tools.android.com/knownissues

提交回复
热议问题