This website will be permanently discontinued and will no longer be accessible.
FINAL DAY OF SERVICE: 26 November 2024
Thank You for Your Support
Dear valued users,
We want to inform you that this website will be permanently shutting down. After this date, all services and content will no longer be accessible.
We sincerely thank you for your support and trust throughout our journey.
Important Dates:
Last Day: 26/11/2024
Data Access:Until the last day
Dear valued users,
We want to inform you that this website will be permanently shutting down. After this date, all services and content will no longer be accessible.
We sincerely thank you for your support and trust throughout our journey. Important Dates: Last Day: 26/11/2024 Data Access:Until the last day
Fluttter: Android SDK file not found: adb [Solved]
Android SDK file is not found: adb is a flutter error that you get when you are developing for the Android platform.
In the terminal you write this command:
flutter doctor
And you get this message where you have “Android toolchain – develop for Android devices ( Android SDK version 31.0.0) Android SDK file not found: adb“.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.0, on macOS 11.6.2 20G314
darwin-x64, locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
✗ Android SDK file not found: adb.
[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.71.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
Now! let’s see how to resolve this issue
Solution
Step 1: Open Android Studio
Step 2: Open the SDK manager from the three-dot icons
Step 3: Go to the SDK tools section
Step 4: Check the “Android SDK platform-Tools”
Step 5: Download and Install the Files
Done! Its time to open the terminal again and write
flutter doctor
After applying the solution,
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.0, on macOS 11.6.2 20G314
darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android
SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.71.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
Everything is OK and the error is gone.
Conclusion:
You just solve the “Android SDK file not found: adb” error in a flutter. If you still struggling with the same problem you can open an issue in flutter issues.
Also, don’t forget to read other solutions, they are also helpful: