Saturday, April 23, 2016

Fixed for the time being, error of "umake android" on Ubuntu 16.04: A default framework for category Android was requested where there is none

Android Studio 2.0 on Ubuntu 16.04
Refer to the last post "Error in installing Android Studio on Ubuntu 16.04 using umake", when I install Android Studio on Ubuntu 16.04 using umake, error message show "ERROR: A default framework for category Android was requested where there is none".


Android studio and the sdk changed the download pages significantly.
They've been fixed in master, and will be working again in the next release.

If you need you can clone the repository and install from that.
It's less than ideal, but if it can help you for the time being.

git clone https://github.com/ubuntu/ubuntu-make
cd ubuntu-make
bin/umake android

reference: LyzardKing comments in https://github.com/ubuntu/ubuntu-make/issues/302

This video show how:


Onced installed. openjdk version "1.8.0_03-Ubuntu" will also be installed.


Updated@2016-05-24:
Another approach is to add the ppa to get the latest version.
It's updated frequently as it's easier to upload a version to a ppa.

$ sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
$ sudo apt update
$ sudo apt install ubuntu-make


1 comment:

Anonymous said...

I have ubuntu 16.04 installed, and I had this problem, I think its better to user repos that are in here: https://wiki.ubuntu.com/ubuntu-make , because they can be updated. using them solved my problem, so problem is probably because of the default package on ubuntu 16.04.