0

After installing android studio and running all the commands in terminal and saving the text editor ".desktop'' file..terminal is showing the following error:

~/Downloads$ cd ~/Downloads
~/Downloads$ sudo -i
[sudo] password for arpit
~# mv android-studio /opt
mv: cannot stat 'android-studio': No such file or directory
~# gedit android-studio.desktop
desktop-file-install android-studio.desktop

~# desktop-file-install android-studio.desktop
Error on file "android-studio.desktop": Key file does not start with a group

~# desktop-file-install android-studio.desktop
Error on file "android-studio.desktop": Key file does not start with a group
~# ^C
~# 
Pablo Bianchi
  • 15,657

1 Answers1

0

The official Ubuntu way to install Android studio is this:

$ sudo apt install ubuntu-make
$ sudo umake android
  • it is showing this error- arpit@arpit-HP-Pavilion-dv6-Notebook-PC:~$ sudo apt install ubuntu-make [sudo] password for arpit: Reading package lists... Done Building dependency tree
    Reading state information... Done E: Unable to locate package ubuntu-make arpit@arpit-HP-Pavilion-dv6-Notebook-PC:~$ sudo umake android sudo: umake: command not found arpit@arpit-HP-Pavilion-dv6-Notebook-PC:~$
    – arpit awasthi Jul 02 '17 at 21:33
  • You may need to enable universe repo from software and updates first. Here is the package: https://packages.ubuntu.com/zesty/ubuntu-make – Danial Behzadi Jul 04 '17 at 06:45