[英]Android Emulator unable to connect to Flipper
I followed the instructions here https://fbflipper.com/docs/getting-started/android-native/#diagnostics .我按照这里的说明https://fbflipper.com/docs/getting-started/android-native/#diagnostics 。 I added the 3 dependencies in
build.gradle
, and added the application class with the same implementation as in the guide, and linked to it in manifest.我在
build.gradle
中添加了 3 个依赖项,并添加了与指南中具有相同实现的应用程序类,并在清单中链接到它。 However flipper still says "No device found":但是鳍状肢仍然说“未找到设备”:
I ran the diagnostics command adb shell am start -n <package_name>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
and saw that "establish pre-setup connection" and "connect insecurely" failed:我运行了诊断命令
adb shell am start -n <package_name>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
并看到“建立预设置连接”和“不安全连接”失败:
I'm not sure what these errors mean and how to fix them.我不确定这些错误是什么意思以及如何修复它们。 Would appreciate help!
非常感谢帮助!
I had the same issue and this worked on my side:我有同样的问题,这对我有用:
In the flipper application:在鳍状肢应用程序中:
/Users/yourusername/Library/Android/sdk/platform-tools
/Users/yourusername/Library/Android/sdk/platform-tools
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.