<bdo id='UUM5M'></bdo><ul id='UUM5M'></ul>

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

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

        Android:FCM java.io.IOException:某些设备上的 SERVICE_NOT_AVAILABLE

        时间:2023-07-29
          <tbody id='sLNlD'></tbody>

          <tfoot id='sLNlD'></tfoot>
          • <bdo id='sLNlD'></bdo><ul id='sLNlD'></ul>

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

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

                  本文介绍了Android:FCM java.io.IOException:某些设备上的 SERVICE_NOT_AVAILABLE 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在我的项目中使用 FCM

                  它可以在 Sony xperia、Galaxy S6、摩托罗拉等设备上正常工作.但是在 Galaxy S3 上我得到 java.io.IOException: SERVICE_NOT_AVAILABLE 错误

                  It work correct on Sony xperia, Galaxy S6, Motorola and more. But on Galaxy S3 i get java.io.IOException: SERVICE_NOT_AVAILABLE error

                  Galaxy S3 自动计时,google play 更新

                  Time of Galaxy S3 is auto and google play is updated

                  互联网连接很好,我连接到没有代理的开放互联网

                  Internet connection is strong and i connected to open internet without proxy

                  推荐答案

                  当设备无法注册到 Firebase 时会出现此错误.确保调用此代码时互联网正常工作.并将代码放入 try-catch 以防止应用崩溃.

                  This error is caused when the device is unable to register to Firebase. Make sure the internet is working when this code is called. And put the code within try-catch to stop app from crashing.

                  在注册设备或获取令牌之前添加互联网连接检查.或者将 Fetch 令牌代码包装在 try-catch 块中,以防止应用崩溃.

                  Either add an internet connection check before registering the device or fetching token. Or wrap the Fetch token code in try-catch block to prevent app from crashing.

                  这篇关于Android:FCM java.io.IOException:某些设备上的 SERVICE_NOT_AVAILABLE 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Firebase 实例 ID:在 21.0.0 中弃用 getId() 下一篇:Firebase Instance Id 和 Token 的范围

                  相关文章

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

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

                      <tfoot id='dbeYa'></tfoot>

                      <legend id='dbeYa'><style id='dbeYa'><dir id='dbeYa'><q id='dbeYa'></q></dir></style></legend>
                      • <bdo id='dbeYa'></bdo><ul id='dbeYa'></ul>