Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/223.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/firebase/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何解决应用程序包com.google.android.backup未找到的问题?_Android_Firebase_Android Gradle Plugin_Firebase Authentication - Fatal编程技术网

如何解决应用程序包com.google.android.backup未找到的问题?

如何解决应用程序包com.google.android.backup未找到的问题?,android,firebase,android-gradle-plugin,firebase-authentication,Android,Firebase,Android Gradle Plugin,Firebase Authentication,我正在尝试在我的Android应用程序上添加Firebase身份验证和Facebook登录。我在我的应用程序上添加了这些依赖项,当我尝试启动我的应用程序时,它显示以下错误: android.content.pm.PackageManager$NameNotFoundException: Application package com.google.android.backup not found 从错误本身来看,缺少com.google.android.backup,但是如何添加此软件包?这个

我正在尝试在我的Android应用程序上添加Firebase身份验证和Facebook登录。我在我的应用程序上添加了这些依赖项,当我尝试启动我的应用程序时,它显示以下错误:

android.content.pm.PackageManager$NameNotFoundException: Application package com.google.android.backup not found
从错误本身来看,缺少
com.google.android.backup
,但是如何添加此软件包?这个包裹有什么作用

app.gradle(添加了以下内容)

格雷德尔项目

mavenCentral() //added on the repositories section

classpath 'com.google.gms:google-services:3.0.0'

谷歌存储库和谷歌播放服务应该更新到最新版本。您可以在Android studio的SDK管理器上更新这些错误。

您确定该错误实际上与您的应用程序有关吗?在清单中,您可以禁用应用程序备份。另外,firebase的最新版本是
10.2.0
我已经能够通过更新Google Repository和Google Play来修复此问题Services@zbryan,这意味着你的问题不再是实际问题。要么自己回答,要么把它去掉。
mavenCentral() //added on the repositories section

classpath 'com.google.gms:google-services:3.0.0'