I am developing an Android app and want to support back to API version 15.
The device I'm running has Android version 4.4.4
Google Play service is install on the device with version 4.4.52
What dependency do I need to add to my gradle? I've tried a bunch but haven't had luck:
Example:
1)
compile 'com.google.android.gms:play-services-location:6.+'
This compiles however it fails on run saying play services needs an update.
2)
compile 'com.google.android.gms:play-services-location:4.4.52'
This doesn't compile and I get the following error that I'm unsure how to fix.
google play services 4.4.52 attribute "theme" has already been defined
Here is a list of my entire Gradle dependencies:
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'org.parceler:parceler:0.2.13'
compile 'com.jpardogo.materialtabstrip:library:1.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.google.android.gms:play-services-location:6.+'
You should use: com.google.android.gms:play-services-location:7.5.0
.
To get the following info: Google Location, Activity Recognition, and Places.
GooglePlay Service is compatible to Android device that runs Android 2.3 or higher and includes Google Play Store.
All info about GooglePlay Service SDK, you can look at: https://developers.google.com/android/guides/setup
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.