debugview firebase 中没有可用的设备

IRO*_*MAN 5 android firebase firebase-analytics firebase-console

我尝试在 firebase 中使用 debugview 但它无法检测到我的设备

我尝试了答案-->

  1. DebugView没有可用的设备

  2. /sf/answers/3083296681/

我所做的是启用调试C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools>adb shell setprop debug.firebase.analytics.app com.example.myprojectname

虽然它没有显示错误,但它也运行代码/项目

但仍然显示未找到设备

需要帮助谢谢

在此输入图像描述

小智 2

我无法让模拟器工作,但我设法让我的物理设备与 DebugView 一起工作。

我的问题是我的设备通过 wifi 连接(遵循本指南: https: //reactnative.dev/docs/running-on-device#method-2-connect-via-wi-fi),并且adb devices仅运行列出了模拟器,而不是我的物理设备。

通过 USB 重新连接后(遵循同一指南的方法 1: https: //reactnative.dev/docs/running-on-device#method-1-using-adb-reverse-recommished)并列出我的物理设备adb devices我跑了,adb -d shell setprop debug.firebase.analytics.app <package_name>我的设备终于被 DebugView 识别了