Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator unable to connect to Flipper

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!

like image 448
Lara Avatar asked Feb 03 '26 00:02

Lara


1 Answers

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".
like image 147
bma350 Avatar answered Feb 04 '26 13:02

bma350