You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No matter how often I run flutter doctor --android-licenses and y through all the licenses, a subsequent flutter doctor still complains that Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses.
What am I missing? Android Studio and Flutter and the rest of the android-* pkgs were installed via my Arch-deriv-distro's pacman-like package manager but they're all latest-and-up-to-datest. (Only "Android SDK Command-line Tools (latest)" I had to do non-pkg-wise via the "Settings / Languages & Frameworks / Android SDK / SDK Tools" tab in android-studio.)
Actual results
I keep running flutter doctor --android-licenses and y through all the licenses, yet every time a subsequent flutter doctor still complains that Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses.
Logs
Logs
Doing `flutter --verbose doctor --android-licenses`, excluded the actual license texts:
~ flutter --verbose doctor --android-licenses
[ +19 ms] executing: uname -m
[ +6 ms] Exit code 0 from: uname -m
[ ] x86_64
[ +57 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +54 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ +14 ms] executing: /opt/android-studio/jbr/bin/java -version
[ +63 ms] Exit code 0 from: /opt/android-studio/jbr/bin/java -version
[ ] openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
OpenJDK 64-Bit Server VM (build 17.0.10+0-17.0.10b1087.21-11572160, mixed mode)
[=======================================] 100% Computing updates...
6 of 6 SDK package licenses not accepted.
Review licenses that have not been accepted (y/N)? y
[ actual license texts skipped here; following my 6 'y's came: ]
All SDK package licenses accepted
[+7144 ms] "flutter doctor" took 7,290ms.
[ +1 ms] Running 0 shutdown hooks
[ ] Shutdown hooks complete
[ +1 ms] exiting with code 0
Flutter Doctor output
Doctor output
~ flutter doctor -v[✓] Flutter (Channel stable, 3.22.0, on Garuda Linux 6.9.1-zen1-1-zen, locale en_US.UTF-8) • Flutter version 3.22.0 on channel stable at /home/_/.cache/flutter_sdk • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5dcb86f68f (13 days ago), 2024-05-09 07:39:20 -0500 • Engine revision f6344b75dc • Dart version 3.4.0 • DevTools version 2.34.3[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /opt/android-sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /opt/android-sdk • ANDROID_SDK_ROOT = /opt/android-sdk • Java binary at: /opt/android-studio/jbr/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) ✗ Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses[✓] Chrome - develop for the web • CHROME_EXECUTABLE = /home/_/b/wbd[✓] Linux toolchain - develop for Linux desktop • clang version 17.0.6 • cmake version 3.29.3 • ninja version 1.12.1 • pkg-config version 2.1.1[✓] Android Studio (version 2023.3) • Android Studio at /opt/android-studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)[✓] Connected device (2 available) • Linux (desktop) • linux • linux-x64 • Garuda Linux 6.9.1-zen1-1-zen • Chrome (web) • chrome • web-javascript • Chromium 125.0.6422.60 Arch Linux[✓] Network resources • All expected network resources are available.! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Steps to reproduce
flutter doctor --android-licenses
andy
through all the licenses, a subsequentflutter doctor
still complains thatAndroid licenses not accepted. To resolve this, run: flutter doctor --android-licenses
.Actual results
I keep running
flutter doctor --android-licenses
andy
through all the licenses, yet every time a subsequentflutter doctor
still complains thatAndroid licenses not accepted. To resolve this, run: flutter doctor --android-licenses
.Logs
Logs
Doing `flutter --verbose doctor --android-licenses`, excluded the actual license texts:Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: