I have tried to download flutter in Ubuntu, i encountered error after running flutter doctor.
[✗] 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.
I want to download flutter in Ubuntu but I'm getting error with android sdk
sudo apt-get install
clang cmake git
ninja-build pkg-config
libgtk-3-dev liblzma-dev
libstdc++-12-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libstdc++-12-dev
E: Couldn't find any package by regex 'libstdc++-12-dev'