Ubuntu 16.04 ubuntu-make android error: a default framework for category Android was requested where there is none [duplicate]
I try to install Android Studio 2.0 in Ubuntu 16.04 using ubuntu-make as described in the wiki manual and the video.
fieldmarshal@fmcomp:~$ umake android
ERROR: A default framework for category Android was requested where there is none
usage: umake android [-h] {android-ndk} ...
Another way of input didn't help either:
fieldmarshal@fmcomp:~$ umake android android-studio
usage: umake android [-h] {android-ndk} ...
umake android: error: argument framework: invalid choice: 'android-studio' (choose from 'android-ndk')
Although other IDEs are installed normally, e.g. when I run:
umake ide idea
, everything is okay.
But I keep getting these errors when I try to install Android Studio.
Solution 1:
I found a solution in another askubuntu thread: Why can't I get Android Studio from umake anymore?
The following, taken from above link, worked for me, even though I am using Linux Mint:
You need to have the latest Version of umake, which is 17.03 as of the time of writing. Mine was old, so I replaced it.
umake --version
Don't install umake from the standard ubuntu repositories, instead add ubuntu-desktop repository to get latest umake version. Add repository by
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
Update software Source
sudo apt-get update
Now install/upgrade umake
sudo apt-get install ubuntu-make
Now install Android Studio by
sudo umake android