Score:1

How to install Android Studio with Flutter on Ubuntu 20.04

sy flag

Sorry if this was asked before.

What is the current proper way of installing Android Studio to be able to develop applications using Flutter on Ubuntu 20.04 ?

On the Android Studio install page (https://developer.android.com/studio/install) it is recommended to use the /opt directory:

Unpack the .zip file you downloaded to an appropriate location for your applications, such as within /usr/local/ for your user profile, or /opt/ for shared users.

I extracted the archive into /opt using sudo and then I also had to use sudo to run the start script.

But I would like to start the Android Studio without using sudo.

Thank you!

Score:0
zw flag

I would recommend to add (Ubuntu Make PPA) and install Android Studio using it

sudo add-apt-repository ppa:lyzardking/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
umake android

the last command will install Android Studio to your home folder with corresponding shortcuts.

ndev avatar
sy flag
Thanks it worked! umake installed the required dependencies and android studio in `$HOME/.local/share/umake/android/android-studio`. Logged in as a normal user without _sudo_ I could start the script `$HOME/.local/share/umake/android/android-studio/bin/studio.sh` Then I added a desktop shortcut from "Android Studio > Tools > Create desktop entry" and the shortcut was available in the Applications menu. For Flutter I installed the _Flutter_ plugin in Android Studio.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.