9/22/2023 0 Comments Android sdk command line![]() To your ~/.profile script, then relogin to Ubuntu. If that worked, then add the env variable to your profile to make it persistent, by adding export ANDROID_HOME=~/Android-SDK So assuming you installed the SDK in your home directory, open a terminal and issue this command ANDROID_HOME=~/Android-SDK flutter doctor You need to set env variable ANDROID_HOME to the path you installed the android sdk for flutter to work. I had this issue when I installed on Ubuntu. Android Studio at /home/andi/Downloads/android-studio-ide-173.4907809-linux/android-studio.To resolve this, run: flutter doctor -android-licenses Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01).Java binary at: /home/andi/Downloads/android-studio-ide-173.4907809-linux/android-studio/jre/bin/java.Platform android-28, build-tools 28.0.2.Android NDK location not configured (optional useful for native profiling support).Android toolchain - develop for Android devices (Android SDK 28.0.2) Flutter version 0.7.3 at /home/andi/Downloads/flutter.I might need you to be really clear in the instructions because I'm new to the linux platform.įlutter doctor -v output: Flutter (Channel beta, v0.7.3, on Linux, locale en_IN) The closest issue I could find was: How to install SDK manager on linux ubuntu 16.04? but I couldn't really understand how to work the instructions. Try re-installing or updating your Android SDK, ![]() However, when I wanted to install Flutter, it gives exception: Doctor summary (to see all details, run flutter doctor -v):Įxception: Android sdkmanager tool not found (/usr/lib/android-sdk/tools/bin/sdkmanager). I followed all the steps as said to install Android Studio and it is working fine with all the SDKs. I newly started using Ubuntu 18.0 LTS this week, switching from Windows, and wanted to install Android Studio and Flutter back. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |