我试图在 firebase 中使用 debugview,但它无法检测到我的设备
我尝试了答案-->
我所做的是启用调试是
C:\Users\Dell\AppData\Local\Android\Sdk\platform-tools>adb shell setprop debug.firebase.analytics.app com.example.myprojectname
尽管它没有显示错误,但它也运行代码/项目但它仍然显示没有找到设备
需要帮助谢谢
最佳答案
我无法让模拟器工作,但我设法让我的物理设备与 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-recommended),并在 adb devices
中列出我的物理设备我跑了adb -d shell setprop debug.firebase.analytics.app <package_name>
我的设备终于被 DebugView 识别了
关于android - debugview firebase 中没有可用的设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65090177/