I am trying to install flutter and android studio,
I have also seen several tutorials on youtube but even if I carry out the same steps I always get the same two errors.
These are the mistakes:
Android toolchain – develop for Android devices (Android SDK version 32.1.0-rc1)
X cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run flutter doctor --android-licenses
to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
I have already downloaded the cmdline through android studio and changed different paths but even doing so it doesn’t keep me going.
while for the licenses it tells me that I have to install the cmdline first.
so it brings me back to the first mistake
help me please