How to update Sdk android?

Viewed 39

I want to upgrade my android sdk version from 32.1.0-rc1 to 33.0.0-rc2. so i installed the sdkmanager to update my sdk and run this command

sdkmanager "build-tools;33.0.3" "platforms;android-33"

but i get an error msg : Warning: Failed to find package build-tools;33.0.3
and when i run flutter doctor this what i get :

[!] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

    ✗ No valid Android SDK platforms found in /usr/lib/android-sdk/platforms. Directory was empty.

how to fix it

0 Answers
Related