Can't Import com.google.android.gms.location.LocationServices -


i'm trying accurate location.

till i'v used locationclient in google docs: http://developer.android.com/training/location/retrieve-current.html

but have discovered class old: http://developer.android.com/reference/com/google/android/gms/location/package-summary.html

"this class deprecated. use locationservices".

however in examples of locationservices in site: android locationclient class deprecated used in documentation

it seem should use import: com.google.android.gms.location.locationservices can't import class..

any ideas ?

edit:

i have found in page: h2ttps://github.com/m66b/xprivacy/issues/1774

with seemingly similar problem, speculation that: "seems part of play services 5.0."
wonder if case -- has tried ?

make sure have following item in gradle dependency:

dependencies {     compile 'com.google.android.gms:play-services-location:7.+' } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -