Failed to start flipper-server Error: Failed to initialize ADB. Please disable Android support in settings, or configure a correct path. Error: spawn /opt/android_sdk/platform-tools/adb ENOENT
How to solve this error when I open flipper?
6.7k Views Asked by Schubertz At
2
There are 2 best solutions below
0
On
As it has been said, you probably need to change your SDK location.
First you need to find where your sdk is, in a terminal:
dirname $(dirname $(which android))
# outputs something like /Users/yourname/Library/Android/sdk
Then you can go to Flipper's settings:

And set Android SDK location to the path you just got:

The error message is complaining that it can't find the Android SDK installed. The Android SDK comes with Android Studio, which you can download here:
https://developer.android.com/studio
Once installed, open your Flipper settings (click the cog icon in the bottom left) and ensure that the "Android SDK location" field is correctly filled it. For me (on Mac), the path is "/Users/rangfu/Library/Android/sdk".
If you're not planning to debug Android with Flipper, you can simply switch off the "Android Developer" setting.