Can't find the class com.google.android.gms.location.LocationClient (android)

后端 未结 11 1721
离开以前
离开以前 2020-12-15 16:03

I have download a demo project from http://developer.android.com/training/location/retrieve-current.html, and I think I don\'t lost any steps; But I can\'t find which jar fi

11条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-15 16:55

    Add to Gradle file (x.y.z - actual version of Google Play Services):

    compile 'com.google.android.gms:play-services-location:x.y.z'
    

提交回复
热议问题