草庐IT

java - 找不到 FireBase 错误 : cannot access zzanb class file for com. google.android.gms.internal.zzanb

更新。我已经阅读了这些问答(Classfileforcom.google.android.gms.internal.zzajanotfound)。但我不明白我需要在我的项目中添加或删除哪些字符串。因为我的代码中没有这个和其他字符串:编译'com.google.android.gms:play-services-location:9.2.0'我使用FireBase开发了一个安卓应用。当我想要构建我的项目时,我遇到了一个错误:Error:(39,25)错误:无法访问zzanb找不到com.google.android.gms.internal.zzanb的类文件错误是由调用语句引起的:Fi

android - 所有 com.google.android.gms 库都必须使用完全相同的版本规范吗?

我在我的构建等级中收到以下针对compile'com.google.android.gms:play-services-analytics:9.2.0'行的警告消息。这是什么意思?Allcom.google.android.gmslibrariesmustusetheexactsameversionspecification(mixingversionscanleadtoruntimecrashes).Foundversions9.2.0,8.4.0.Examplesincludecom.google.android.gms:play-services-basement:9.2.0an

android - 如何修复错误 :Could not find com. google.gms : google-services: 3. 0.0.?

我正在尝试在我的应用中添加firebaseaddmob。在build.gradle(Project)中我有以下代码buildscript{repositories{jcenter()}dependencies{classpath'com.google.gms:google-services:3.0.0'classpath'com.android.tools.build:gradle:2.1.3'//NOTE:Donotplaceyourapplicationdependencieshere;theybelong//intheindividualmodulebuild.gradlefil

android - java.lang.NoClassDefFoundError : Failed resolution of: Lcom/Google/Android/gms/common/API/API$zzf; 错误

这个问题在这里已经有了答案:NoClassDefFoundError-EclipseandAndroid(27个答案)关闭2年前。java.lang.NoClassDefFoundError:Failedresolutionof:Lcom/google/android/gms/common/api/Api$zzf;我在运行时遇到上述错误。我将multiDexEnabled设置为true,但我仍然遇到错误。我找不到背后的原因。没有正确的解决方案问题。

android - Gradle 找不到依赖项 com.google.android.gms :play-services

自从我将AndroidStudio升级到3.0.0后,我遇到了一个问题:我再也找不到com.google.android.gms:play-services了!添加此依赖项后,当我尝试同步我的项目时,我收到此消息:Failedtoresolve:com.google.android.gms:play-services-games:11.4.2我可以点击“安装存储库和同步项目”,但是当我点击时,我收到这条消息:Couldnotfinddependency"com.google.android.gms:play-services-games:11.4.2"我尝试搜索,但我找到的唯一解决方案

android - 错误 : Could not find com. google.gms.google-services :4. 2.0

我正在尝试将Firebasecrashlytics添加到现有项目(不是我开发的)。我不断收到错误ERROR:Couldnotfindcom.google.gms.google-services:4.2.0:.Requiredby:project:Searchinbuild.gradlefiles我已经完成了要求添加maven{url'https://maven.google.com的所有(或大部分)解决方案'}并且它们都不起作用。对于所有解决方案,我都收到上述错误。请不要让我开发的其他项目使用相同的build.gradle工作正常,但不确定为什么这个项目给我带来噩梦。projectle

Android 应用程序错误 - 重复 ID 0x7f04000f、标记 null 或父 ID 0x0 与 com.google.android.gms.maps.SupportMapFragment 的另一个 fragment

这个问题在这里已经有了答案:Android-SupportMapFragmentwithGoogleMapsAPI2.0givingIllegalArgumentException(11个答案)关闭9年前。我正在尝试制作一个简单的Android应用程序,但在修复此错误时遇到了问题。该应用程序有一个4选项卡固定按钮导航,当在第4个选项卡上切换到另一个选项卡时会发生错误。在任何其他页面上都可以正常工作,但第4个选项卡每次都会导致fatalerror。除了TextView元素外,该页面上没有任何内容。谁能帮我找出问题所在或指出正确的方向?02-1721:48:54.378:E/Android

android - 适用于 Android 的 Google+ 平台 - NoClassDefFoundError : com. google.android.gms.samples.plus.SignInActivity

我想运行google+示例:PlusSampleActivity。此处定义了执行此操作的步骤:https://developers.google.com/+/mobile/android/getting-started将GooglePlay服务下载到我的eclipse;在GoogleAPI控制台中,创建一个API项目在“服务”Pane中,启用Google+API在API访问Pane中,创建一个OAuth2.0客户端ID设置名称产品选择安卓将包名设置为:com.google.android.gms.samples.plus使用key工具生成签名证书指纹创建客户ID按照页面上的描述导入示例

android - java.lang.NoClassDefFoundError : com. google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential 错误

我正在尝试在我的androidApplciation中实现GoogleDrive,并得到java.lang.NoClassDefFoundError:com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential错误,所以任何人都知道如何解决这个问题。我现在还在试成功导入GoogleDrive所需的所有.jar导入GooglePlay服务库。在我的项目中成功试图重新启动eclipse并检查,但同样的错误出现了从Android的GoogleDriveAPI或Play服务获得APIke

android - google-services 插件无法检测到 com.google.android.gms 或 com.google.firebase 的任何版本 - 奇怪的行为

我有一个包含4个模块的项目:应用(主要)公共(public)库CD我已将firebase正确设置为此处的状态:https://firebase.google.com/docs/android/setup在我的应用模块中,我不使用任何额外的库,只使用模块依赖项:dependencies{debugCompileproject(path:':common-lib',configuration:'debug')releaseCompileproject(path:':common-lib',configuration:'release')}在我的common-lib模块中,我使用了fireb