Mengatasi Error "Unable to locate Android SDK" Saat Menjalankan Flutter di Ubuntu
Saat pertama kali menginstall Flutter, biasanya akan muncul error seperti dibawah ini, salah satunya adalah error:
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, set
ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.
2. Copy path/parent folder sdk tersebut, seperti pada gambar
3. Buka terminal, lalu ketik
flutter config --android-sdk /home/max/Projects/sdk
tulisan warna merah diganti dengan path sdk android kalian
Posting Komentar untuk "Mengatasi Error "Unable to locate Android SDK" Saat Menjalankan Flutter di Ubuntu"