7

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.

Mitch
  • 106,657
  • 24
  • 210
  • 268
Norton
  • 85
  • 2
  • 7
  • Have you updated? Maybe `umake android android-studio` was just added, and the `android-ndk` option used to be the only option – Mitch Apr 15 '16 at 19:48
  • @Musher How to update so that I can use `umake android android-studio` ? – Norton Apr 15 '16 at 19:52
  • Assuming you installed it from the ppa, just use `sudo apt-get install ubuntu-make` and that will update it if it already exists – Mitch Apr 15 '16 at 19:55
  • 1
    @Musher I reinstalled `ubuntu-make` and rerun `umake android android-studio`. It still shows `android-ndk` as the only option. – Norton Apr 15 '16 at 20:02
  • Welcome to Ask Ubuntu! **;-)** As Ubuntu [16.04 is not officially released yet](https://wiki.ubuntu.com/XenialXerus/ReleaseSchedule) you should use launchpad to [file a bug](http://askubuntu.com/questions/5121/how-do-i-report-a-bug) so the developers are aware of this and can track it. – Fabby Apr 16 '16 at 09:26
  • I had the same problem and reported the bug. You can view it here: https://bugs.launchpad.net/ubuntu/+source/ubuntu-make/+filebug/379baad8-04c2-11e6-ba51-d485646cd9a4? – Ward Segers Apr 17 '16 at 17:35
  • A solution can be found [here](http://android-er.blogspot.de/2016/04/fixed-for-time-being-error-of-umake.html). – brejoc Sep 16 '16 at 18:09

1 Answers1

6

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
Kai Hatje
  • 176
  • 1
  • 4
  • +1, worked perfectly. Why is this answer downvoted? – Abk Jul 23 '17 at 13:45
  • @Kaiv Hatje While running `sudo umake android` got `ERROR: Download page changed its syntax or is not parsable (url missing)`. Any idea why? (version 17.03) – U Rogel Apr 27 '18 at 07:08