简体   繁体   English

Android设备4.4.4 Google Play服务

[英]Android Device 4.4.4 Google Play Services

I am developing an Android app and want to support back to API version 15. 我正在开发一个Android应用,并希望支持回到API版本15。

The device I'm running has Android version 4.4.4 我正在运行的设备具有Android版本4.4.4

Google Play service is install on the device with version 4.4.52 Google Play服务已安装在版本为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) 1)

compile 'com.google.android.gms:play-services-location:6.+'

This compiles however it fails on run saying play services needs an update. 这会编译,但是运行失败,表示播放服务需要更新。

2) 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: 这是我整个Gradle依赖项的列表:

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 . 您应该使用: com.google.android.gms:play-services-location:7.5.0

To get the following info: Google Location, Activity Recognition, and Places. 要获取以下信息:Google位置,活动识别和地点。

GooglePlay Service is compatible to Android device that runs Android 2.3 or higher and includes Google Play Store. GooglePlay服务与运行Android 2.3或更高版本并包含Google Play商店的Android设备兼容。

All info about GooglePlay Service SDK, you can look at: https://developers.google.com/android/guides/setup 有关GooglePlay服务SDK的所有信息,您可以查看: https : //developers.google.com/android/guides/setup

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法安装Google Play服务的Android设备上的Android推送通知 - Android Push Notifications on Android Device that can not install Google Play Services 在使用Google Play服务的Android中未检测到设备的活动 - Activity of Device is not detecting in Android using Google Play Services 带有Google Play服务的Android Studio“仅设备”位置不起作用 - Android Studio 'Device Only' Location w/ Google Play Services not working Android设备模拟器未使用GoogleApiClient连接到Google Play服务 - Android device emulator is not connecting to Google play services using GoogleApiClient 在新的Android Oreo设备(AOSP)中安装Google Play服务 - Installing google play services in new android Oreo device(AOSP) 在设备上找不到Google Play服务 - google play services not found on device Android Google Play服务 - Android Google Play services 如果没有Google Play服务,则Google Play Services 9.2.0会导致设备意外崩溃-android.app.Instrumentation.execStartActivity上的NPE - Google Play Services 9.2.0 causes undesired crash in device without Google Play Services - NPE at android.app.Instrumentation.execStartActivity 没有 Play 服务的设备是否需要 Google Play 服务类路径? - Does Google Play Services Classpath necessary for device that has no Play Services? 谷歌播放服务安卓工作室 - Google play services android studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM