sábado, 2 de setembro de 2017

HOW TO INSTALL ANDROID STUDIO ON UBUNTU AND FIX PROBLEM

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

If you have a problem like that: 


ERROR: Unhandled exception
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/umake/tools.py", line 158, in wrapper
    function(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/umake/ui/__init__.py", line 56, in display
    cls.currentUI._display(contentType)
  File "/usr/lib/python3/dist-packages/umake/ui/cli/__init__.py", line 61, in _display
    contentType.run_callback(result=rlinput(contentType.content, contentType.default_input))
  File "/usr/lib/python3/dist-packages/umake/interactions/__init__.py", line 141, in run_callback
    self._callback_fn(result)
  File "/usr/lib/python3/dist-packages/umake/frameworks/baseinstaller.py", line 152, in confirm_path
    if os.listdir(path_dir):

PermissionError: [Errno 13] Permission denied: '/root/.local/share/umake/android/android-studio'



execute first :

sudo -s
unset SUDO_UID
unset SUDO_GID


After, for finish the correctly installation execute again

apt-get install ubuntu-make  


for remover you can do that:

umake android --remove

Nenhum comentário:

Postar um comentário