14

I followed the instructions here 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. However flipper still says "No device found":

enter image description here

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:

enter image description here

I'm not sure what these errors mean and how to fix them. Would appreciate help!

Lara
  • 333
  • 3
  • 9

1 Answers1

30

I had the same issue and this worked on my side:

In the flipper application:

  • Open the Settings from the bottom left gear wheel, then "Settings"
  • Change the "Android SDK location" value to the path to the platform tools, something like this: /Users/yourusername/Library/Android/sdk/platform-tools

Flipper configuration

  • Click on "Apply and restart".
bma350
  • 1,211
  • 11
  • 11