草庐IT

android - 'com.android.support :appcompat-v7:27. 1.1' 与 com.google.android.gms :play-services-maps:15. 0.1 冲突?

我想使用谷歌地图,但依赖项(com.google.android.gms:play-services-maps:15.0.1)与'com.android.support:appcompat-v7:27.1.1'冲突。.任何人都可以帮忙吗?这是我的gradle文件applyplugin:'com.android.application'android{compileSdkVersion27defaultConfig{applicationId"com.gamecodeschool.mapso"minSdkVersion18targetSdkVersion27versionCode1ver

android - getPlaceDetectionClient(android.app.Activity, com.google.android.gms.location.places.PlacesOptions) 已弃用

安卓工作室3.1.4placeDetectionClient=Places.getPlaceDetectionClient(this,null);报错:getPlaceDetectionClient(android.app.Activity,com.google.android.gms.location.places.PlacesOptions)isdeprecated知道用什么代替吗?谢谢 最佳答案 你读过APIreference了吗??getPlaceDetectionClient(Contextcontext,PlacesOp

android - 如何解决 "Didn' t find class 'com.google.android.gms.auth.GoogleAuthUtil'“错误?

我第一次尝试在AndroidStudio中使用GoogleCalendarAPI,这个类一旦到达就崩溃了mService.events().insert("primary",event).execute();行。错误说“在路径上找不到类“com.google.android.gms.auth.GoogleAuthUtil”:DexPathList”publicclassCalendarRequestTaskextendsAsyncTask{privatecom.google.api.services.calendar.CalendarmService=null;privateExcep

Android GMS 库抛出 IllegalArgumentException : Unexpected number of IObjectWrapper declared fields: 3

开始在我们的应用程序中看到此崩溃:E/AndroidRuntime:FATALEXCEPTION:mainProcess:com.example.debug,PID:25873java.lang.IllegalArgumentException:UnexpectednumberofIObjectWrapperdeclaredfields:3atpvq.a(:com.google.android.gms@11951440:9)atcom.google.android.gms.maps.internal.CreatorImpl.newMapViewDelegate(:com.google.

android - GMS::LocationClient 中的 DeadObjectException (Android)

在Android上,我们有一个包装来自GMS(谷歌移动服务)的LocationClient对象的类。(注意LocationClient实现了com.google.android.gms.common.GooglePlayServicesClient)。不幸的是,LocationClient对象有抛出DeadObjectExceptions的习惯(例如,当我们调用locationClient.getLastLocation()时),我们通过多种日志记录机制检测到这种情况。然而,奇怪的是,LocationClient没有记录为抛出DeadObjectExceptions,而且我只能捕获所说

android - com.google.android.gms.games.GamesClient 无法解析

我正在尝试使用googleplay游戏服务开发实时多人游戏并下载示例(ButtonClicker2000),但EclipseADK一直提示com.google.android.gms.games.GamesClient无法解析。所有其他导入工作正常:importcom.google.android.gms.games.Games;importcom.google.android.gms.games.GamesActivityResultCodes;importcom.google.android.gms.games.multiplayer.Invitation;importcom.go

android - 依赖=[com.google.android.gms :google-play-services:apklib:7:compile] not found in workspace

很抱歉添加了另一个“未找到androidmavengooglemaps依赖项”问题,但我认为我已经阅读了大部分关于它的帖子并应用了所有建议的解决方案但没有成功。我有一个运行正常的mavenAndroid项目,它具有GoogleMapsV2依赖项,它不是使用maven引用的,而是通过工作区中导入的google-play-services_lib项目和eclipse构建路径库依赖项引用的。现在我正在尝试通过pom配置google-play-services依赖项,因为我正在使用Robolectric实现maven自动化测试,但是我被pom第一行中显示的错误卡住了,没有快速修复:depend

android - 错误重复条目 : com/google/android/gms/common/api/zze. 类

我正在使用Firebase创建Facebook登录系统。但是当我编译项目时,它给了我:Error:Executionfailedfortask':app:transformClassesWithJarMergingForDebug'.com.android.build.api.transform.TransformException:java.util.zip.ZipException:duplicateentry:com/google/android/gms/common/api/zze.classbuild.gradle(项目)://Top-levelbuildfilewherey

android - import com.google.android.gms.location.LocationClient无法解析

这个问题在这里已经有了答案:Androidplayservices6.5:LocationClientismissing(1个回答)关闭7年前。我遇到了这个编译错误。我在同一工作区中添加了googleplay服务库。然后成功添加了最新的sdk(tools,extras)。但不知道为什么还是会出现这个错误。importcom.google.android.gms.location.LocationClient;-->importcannotberesolvedpublicclassMainextendsActivityimplementsGooglePlayServicesClient.

java - 无法使用 'com.google.android.gms:play-services:9.4.0' 构建 APK

我开始为我的小游戏使用GooglePlay服务。正如指南所说,我在我的build.gradle(Module:app)中添加了compile'com.google.android.gms:play-services:9.4.0'。自那次更改后,我无法构建我的apk,但我仍然可以在我的手机上运行它。构建apk时出现以下错误:Error:Executionfailedfortask':app:transformClassesWithDexForDebug'.com.android.build.api.transform.TransformException:com.android.ide.