代码之家  ›  专栏  ›  技术社区  ›  Wahdat Jan

V/FA:不活动,与服务断开连接[重复]

  •  35
  • Wahdat Jan  · 技术社区  · 8 年前

    我在两个android项目中面临这个问题。在一个例子中,我试图从Firebase检索数据到Recyclerview,在另一个例子中,我试图使用电话号码登录,但在这两种情况下,logcat都显示V/FA:

     Inactivity, disconnecting from the service
    
    1 回复  |  直到 8 年前
        1
  •  18
  •   Sohaib Aslam    8 年前

    Inactivity, disconnecting from the service

    您需要遵循几个步骤来解决此问题。 Reason: You face this problem because in the background there are few-thread and the process is running in the android studio which uses the connection of firebase and your process not get the connection.

    1. 从手机/模拟器卸载应用程序。
    2. 然后转到android studio主菜单栏中的文件选项。
    3. 然后单击Invalidatecasha/restart。