<small id='tXtwM'></small><noframes id='tXtwM'>

    <tfoot id='tXtwM'></tfoot>
  1. <i id='tXtwM'><tr id='tXtwM'><dt id='tXtwM'><q id='tXtwM'><span id='tXtwM'><b id='tXtwM'><form id='tXtwM'><ins id='tXtwM'></ins><ul id='tXtwM'></ul><sub id='tXtwM'></sub></form><legend id='tXtwM'></legend><bdo id='tXtwM'><pre id='tXtwM'><center id='tXtwM'></center></pre></bdo></b><th id='tXtwM'></th></span></q></dt></tr></i><div id='tXtwM'><tfoot id='tXtwM'></tfoot><dl id='tXtwM'><fieldset id='tXtwM'></fieldset></dl></div>
      • <bdo id='tXtwM'></bdo><ul id='tXtwM'></ul>

      <legend id='tXtwM'><style id='tXtwM'><dir id='tXtwM'><q id='tXtwM'></q></dir></style></legend>
    1. 无法更新 Firebase 依赖项(com.google.firebase)

      时间:2023-07-29
    2. <small id='voupT'></small><noframes id='voupT'>

      <legend id='voupT'><style id='voupT'><dir id='voupT'><q id='voupT'></q></dir></style></legend>
        1. <i id='voupT'><tr id='voupT'><dt id='voupT'><q id='voupT'><span id='voupT'><b id='voupT'><form id='voupT'><ins id='voupT'></ins><ul id='voupT'></ul><sub id='voupT'></sub></form><legend id='voupT'></legend><bdo id='voupT'><pre id='voupT'><center id='voupT'></center></pre></bdo></b><th id='voupT'></th></span></q></dt></tr></i><div id='voupT'><tfoot id='voupT'></tfoot><dl id='voupT'><fieldset id='voupT'></fieldset></dl></div>

              <bdo id='voupT'></bdo><ul id='voupT'></ul>
              • <tfoot id='voupT'></tfoot>
                  <tbody id='voupT'></tbody>
                本文介绍了无法更新 Firebase 依赖项(com.google.firebase)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我已将 Firebase 添加到 android 应用以进行推送通知.在我使用之前,我已经更新了 build.gradle.它工作正常.

                I have Added Firebase to android app for push notification. I have updated build.gradle before i have used. Its working fine.

                 compile 'com.google.firebase:firebase-messaging:9.2.0'
                

                现在我已更新到最新的库,但出现错误.

                now i have updated to latest library but getting error.

                 dependencies {
                  //....
                     compile 'com.google.firebase:firebase-core:10.0.1'       
                  }
                

                我在重建项目时遇到了错误

                I had getting error at the time of Rebuild project

                错误:配置项目 ':app' 时出现问题.无法解析配置 ':app:_debugApkCopy' 的所有依赖项.找不到 com.google.firebase:firebase-core:10.0.1.要求:DGApp:app:unspecified

                Error:A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugApkCopy'. Could not find com.google.firebase:firebase-core:10.0.1. Required by: DGApp:app:unspecified

                提前谢谢你.

                推荐答案

                您必须从独立 SDK 管理器更新您的 Google Play 服务和 Google 存储库.

                You have to update your Google Play Services and Google Repository from the Standalone SDK Manager.

                在最新版本的 Android Studio 中,独立 SDK 管理器已被移除.您必须转到 SDK 工具选项卡.

                As of the latest version of Android Studio the Standalone SDK Manager is removed. You must go to the SDK Tools tab.

                首先,打开 Android Studio 并点击顶部工具栏上的这个图标:

                First off, open Android Studio and click this icon at the top toolbar:

                然后,当对话框启动时,点击对话框左下方的Launch Standalone SDK Manager":

                Then, when the dialog launches, click "Launch Standalone SDK Manager" at the bottom left of the dialog:

                要确保更新/安装我们想要的内容,请单击取消全选":

                To make sure nothing other than what we want gets updated/installed, click "Deselect All":

                当独立 SDK 管理器窗口打开时,查找Extras"并将其折叠.您应该会看到Google Play Services"和Google Repository",并且在右侧您应该看到可用更新:{something}".选择这些项目并点击安装".

                When the Standalone SDK Manager window opens, look for "Extras" and collapse it. You should see "Google Play Services" and "Google Repository" and on the right you should see "Update Available: {something}". Select these to items and click "Install".

                安装完成后,错误就会消失.

                When they're done installing, the error will go away.

                这篇关于无法更新 Firebase 依赖项(com.google.firebase)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:firebase 云消息没有看到小米设备 下一篇:当应用程序处于后台时,FCM 显示重复通知

                相关文章

              • <small id='9Oaet'></small><noframes id='9Oaet'>

                    <bdo id='9Oaet'></bdo><ul id='9Oaet'></ul>
                  <tfoot id='9Oaet'></tfoot>
                  1. <i id='9Oaet'><tr id='9Oaet'><dt id='9Oaet'><q id='9Oaet'><span id='9Oaet'><b id='9Oaet'><form id='9Oaet'><ins id='9Oaet'></ins><ul id='9Oaet'></ul><sub id='9Oaet'></sub></form><legend id='9Oaet'></legend><bdo id='9Oaet'><pre id='9Oaet'><center id='9Oaet'></center></pre></bdo></b><th id='9Oaet'></th></span></q></dt></tr></i><div id='9Oaet'><tfoot id='9Oaet'></tfoot><dl id='9Oaet'><fieldset id='9Oaet'></fieldset></dl></div>

                    <legend id='9Oaet'><style id='9Oaet'><dir id='9Oaet'><q id='9Oaet'></q></dir></style></legend>