I have had experienced an issue with "Android license status unknown" and I found some useful stuff that may help you to solve your problem.
Add this to the .zshrc or .bashrc in the home directory
export PATH="$PATH:/replace-with-your-directory/android/android-sdk/platform-tools"
export PATH="$PATH:/replace-with-your-directory/android/android-sdk"
on the terminal what you have to do is just to run this command
# This is for the SDK directory
flutter config --android-sdk="$HOME/Android/Sdk"
# This is for Android Studio directory
flutter config --android-studio-dir="/usr/local/android-studio"
If all of them is set up correctly then run this command to accept the license agreement
▶flutter doctor --android-licenses
No comments:
Post a Comment