07-21-2023, 09:59 PM
I have installed flutter correctly on my Ubuntu machine. I have also installed Android Studio and its plugins Flutter and Dart.
Anyway, when I run:
flutter doctor --verbose
I get this output:
[✓] Flutter (Channel stable, 1.20.1, on Linux, locale es_ES.UTF-8)
• Flutter version 1.20.1 at /root/snap/flutter/common/flutter
• Framework revision 2ae34518b8 (hace 5 días), 2020-08-05 19:53:19 -0700
• Engine revision c8e3b94853
• Dart version 2.9.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /home/AAAA/Android/Sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_265-8u265-b01-0ubuntu2~18.04-b01)
• All Android licenses accepted.
[!] Android Studio (not installed)
• Android Studio not found; download from
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
My android studio is located on /snap/android-studio/current/android-studio
I have also tried running:
flutter config --android-studio-dir=/snap/android-studio/current/android-studio
And:
flutter config --android-studio-dir=/snap/android-studio
But the result after running `flutter doctor` is always the same, nothing recognized.
Thanks!
Anyway, when I run:
flutter doctor --verbose
I get this output:
[✓] Flutter (Channel stable, 1.20.1, on Linux, locale es_ES.UTF-8)
• Flutter version 1.20.1 at /root/snap/flutter/common/flutter
• Framework revision 2ae34518b8 (hace 5 días), 2020-08-05 19:53:19 -0700
• Engine revision c8e3b94853
• Dart version 2.9.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /home/AAAA/Android/Sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_265-8u265-b01-0ubuntu2~18.04-b01)
• All Android licenses accepted.
[!] Android Studio (not installed)
• Android Studio not found; download from
[To see links please register here]
(or visit[To see links please register here]
for detailed instructions).[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
My android studio is located on /snap/android-studio/current/android-studio
I have also tried running:
flutter config --android-studio-dir=/snap/android-studio/current/android-studio
And:
flutter config --android-studio-dir=/snap/android-studio
But the result after running `flutter doctor` is always the same, nothing recognized.
Thanks!