Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 17.04 android with umake #476

Closed
rajasec opened this issue Oct 12, 2017 · 19 comments
Closed

Ubuntu 17.04 android with umake #476

rajasec opened this issue Oct 12, 2017 · 19 comments

Comments

@rajasec
Copy link

rajasec commented Oct 12, 2017

Make sure you try the following before submitting the issue, thank you!

Maybe the bug is fixed in the master branch? If you have all dependencies installed, you can run umake easily from it:

$ git clone https://github.com/ubuntu/ubuntu-make
$ cd ubuntu-make
$ bin/umake <your-command>

If all this doesn't solve the problem you're having, please submit the issue including the version of ubuntu and umake itself.

umake version : 16.11.1
Upon running android with umake
giving the proxy error
umake android
Choose installation path: /home/ubuntu/.local/share/umake/android/android-studio
ERROR: https://developer.android.com/sdk/index.html couldn't finish download: HTTPSConnectionPool(host='developer.android.com', port=443): Max retries exceeded with url: /sdk/index.html (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 307 Temporary Redirect',)))
ERROR: An error occurred while downloading https://developer.android.com/sdk/index.html: HTTPSConnectionPool(host='developer.android.com', port=443): Max retries exceeded with url: /sdk/index.html (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 307 Temporary Redirect',)))

@LyzardKing
Copy link
Collaborator

LyzardKing commented Oct 12, 2017

Try the snap. You need the latest version for umake to work properly

@LyzardKing
Copy link
Collaborator

If there are no more issues I'll close.
Let us know if there are news :)

@TeguhTeknisi
Copy link

Please help....
I try to install Android Studio using ubuntu-make version 17.03 in Kubuntu 17.04
But it failed.

root@Asus-X201EV: root@Asus-X201EV:/opt# umake --version
17.03
root@Asus-X201EV: root@Asus-X201EV:/opt# umake android --accept-license
Choose installation path: /opt/android-studio
Downloading and installing requirements                                                                                                                                                                                                       |
100% |########################################################################################################################################################################################################################################|
ERROR: Package requirements can't be met.
root@Asus-X201EV:/opt#

@LyzardKing
Copy link
Collaborator

Hi.
Try running umake -vv android --accept-license
Then you can see what failed

@TeguhTeknisi
Copy link

Thanks for the reply.

I will try it.

@TeguhTeknisi
Copy link

FYI,
I already install java sdk using add-apt-repository ppa:webupd8team/java && apt-get update && apt-get install java-common oracle-java8-installer

But, i still got this error:

sukanime@Asus-X201EV:~/Downloads$ sudo umake -vv android --accept-license
[sudo] password for sukanime: 
INFO: Logging level set to DEBUG
DEBUG: New framework module: umake.frameworks.android
DEBUG: Found category: AndroidCategory
INFO: Create a new apt cache
DEBUG: Check if ['clang'] is installed
INFO: clang isn't installed
DEBUG: Opening None
INFO: No configuration file found
DEBUG: Attach framework AndroidNDK to Android
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk', 'libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: libncurses5:i386 isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework AndroidSDK to Android
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk', 'libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: libncurses5:i386 isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework AndroidStudio to Android
DEBUG: Check if [] is installed
INFO: Don't register Eclipse ADT as it's not installable on this configuration.
DEBUG: Attach framework EclipseADTForRemoval to Android
DEBUG: New framework module: umake.frameworks.baseinstaller
DEBUG: New framework module: umake.frameworks.dart
DEBUG: Found category: DartCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework DartLang to Dart
DEBUG: Check if [] is installed
INFO: Don't register Dart Editor as it's not installable on this configuration.
DEBUG: Attach framework DartLangEditorRemoval to Dart
DEBUG: New framework module: umake.frameworks.games
DEBUG: Found category: GamesCategory
DEBUG: Check if ['libxtst6:i386', 'libxext6:i386', 'libxi6:i386', 'libncurses5:i386', 'libxt6:i386', 'libxpm4:i386', 'libxmu6:i386', 'libgtk2.0-0:i386', 'libatk1.0-0:i386', 'libc6:i386', 'libcairo2:i386', 'libexpat1:i386', 'libfontconfig1:i386', 'libfreetype6:i386', 'libglib2.0-0:i386', 'libice6:i386', 'libpango1.0-0:i386', 'libpng12-0:i386', 'libsm6:i386', 'libxau6:i386', 'libxcursor1:i386', 'libxdmcp6:i386', 'libxfixes3:i386', 'libx11-6:i386', 'libxinerama1:i386', 'libxrandr2:i386', 'libxrender1:i386', 'zlib1g:i386', 'libnss3-1d:i386', 'libnspr4-0d:i386', 'libcurl3:i386', 'libasound2:i386'] is installed
INFO: libxtst6:i386 isn't installed
INFO: libncurses5:i386 isn't installed
INFO: libxt6:i386 isn't installed
INFO: libxpm4:i386 isn't installed
INFO: libxmu6:i386 isn't installed
INFO: libice6:i386 isn't installed
INFO: libpango1.0-0:i386 isn't installed
INFO: libpng12-0:i386 isn't installed
INFO: libsm6:i386 isn't installed
INFO: libnss3-1d:i386 isn't installed
INFO: libnspr4-0d:i386 isn't installed
INFO: libcurl3:i386 isn't installed
INFO: libasound2:i386 isn't installed
INFO: libpng12-0:i386 isn't available on this platform
INFO: libnss3-1d:i386 isn't available on this platform
INFO: libnspr4-0d:i386 isn't available on this platform
INFO: Don't register Stencyl as it's not installable on this configuration.
DEBUG: Attach framework Stencyl to Games
DEBUG: Check if [] is installed
DEBUG: Attach framework Superpowers to Games
DEBUG: Check if [] is installed
DEBUG: Attach framework Twine to Games
DEBUG: Attach framework Unity3D to Games
DEBUG: New framework module: umake.frameworks.go
DEBUG: Found category: GoCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework GoLang to Go
DEBUG: New framework module: umake.frameworks.ide
DEBUG: Found category: IdeCategory
DEBUG: Check if ['gcc-avr', 'avr-libc'] is installed
INFO: gcc-avr isn't installed
INFO: avr-libc isn't installed
DEBUG: Attach framework Arduino to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework Atom to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework BaseNetBeans to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework CLion to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework DataGrip to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework EclipseCPP to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework EclipseJEE to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework EclipseJava to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework EclipsePHP to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework Idea to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
INFO: openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk | openjdk-8-jdk isn't installed
INFO: openjdk-7-jdk isn't available on this platform
DEBUG: Attach framework IdeaUltimate to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework LightTable to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework PhpStorm to IDE
DEBUG: Check if ['python', 'python3'] is installed
DEBUG: Attach framework PyCharm to IDE
DEBUG: Check if ['python', 'python3'] is installed
DEBUG: Attach framework PyCharmEducational to IDE
DEBUG: Check if ['python', 'python3'] is installed
DEBUG: Attach framework PyCharmProfessional to IDE
DEBUG: Check if ['ruby'] is installed
DEBUG: Attach framework RubyMine to IDE
DEBUG: Attach framework SpringToolsSuite to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework SublimeText to IDE
DEBUG: Check if ['libgtk2.0-0'] is installed
DEBUG: Attach framework VisualStudioCode to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework WebStorm to IDE
DEBUG: New framework module: umake.frameworks.kotlin
DEBUG: Found category: KotlinCategory
DEBUG: Check if ['openjdk-7-jre | openjdk-8-jre'] is installed
DEBUG: Check if ['openjdk-7-jre'] is installed
INFO: openjdk-7-jre isn't installed
DEBUG: Check if ['openjdk-8-jre'] is installed
DEBUG: Attach framework KotlinLang to Kotlin
DEBUG: New framework module: umake.frameworks.nodejs
DEBUG: Found category: NodejsCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework NodejsLang to Nodejs
DEBUG: New framework module: umake.frameworks.rust
DEBUG: Found category: RustCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework RustLang to Rust
DEBUG: New framework module: umake.frameworks.scala
DEBUG: Found category: ScalaCategory
DEBUG: Check if ['openjdk-7-jre | openjdk-8-jre'] is installed
DEBUG: Check if ['openjdk-7-jre'] is installed
INFO: openjdk-7-jre isn't installed
DEBUG: Check if ['openjdk-8-jre'] is installed
DEBUG: Attach framework ScalaLang to Scala
DEBUG: New framework module: umake.frameworks.swift
DEBUG: Found category: SwiftCategory
DEBUG: Check if ['clang', 'libicu-dev'] is installed
INFO: clang isn't installed
INFO: libicu-dev isn't installed
DEBUG: Attach framework SwiftLang to Swift
DEBUG: New framework module: umake.frameworks.web
DEBUG: Found category: WebCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework FirefoxDev to Web
DEBUG: Check if ['libgtk2.0-0'] is installed
DEBUG: Attach framework VisualStudioCode to Web
DEBUG: Skipping main having no framework
DEBUG: Call run_for on Android Studio
DEBUG: No installation path provided. Requesting one.
Choose installation path: /opt/android-studio
DEBUG: Installation path provided. Checking if exists.
/opt/android-studio isn't an empty directory, do you want to remove its content and install there? [Yes (y)/No (N)] y
DEBUG: Mark non empty new installation path for cleaning.
DEBUG: Download application provider page
INFO: Start downloading DownloadItem(url='https://developer.android.com/studio/index.html', checksum=None, headers=None, ignore_encoding=False, cookies=None) in memory
INFO: Starting new HTTPS connection (1): developer.android.com
DEBUG: "GET /studio/index.html HTTP/1.1" 200 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 0}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 8192}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 16384}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 24576}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 32768}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 40960}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 49152}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 57344}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 65536}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 73728}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 80332}} of 80332
INFO: https://developer.android.com/studio/index.html download finished
INFO: All pending downloads for [DownloadItem(url='https://developer.android.com/studio/index.html', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
DEBUG: Parse download metadata
DEBUG: Found download link for https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip, checksum: 7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2
INFO: Installation ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] pending                                                                                                                                            |
DEBUG: Check if ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] is uptodate
INFO: libncurses5:i386 isn't installed
INFO: openjdk-8-jdk isn't installed
DEBUG: Starting ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] installation
INFO: Start downloading DownloadItem(url='https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip', checksum=Checksum(checksum_type=<ChecksumType.sha256: 'sha256'>, checksum_value='7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2'), headers=None, ignore_encoding=False, cookies=None) to a temp file
DEBUG: Check if ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] is uptodate
INFO: libncurses5:i386 isn't installed
Downloading and installing requirements
INFO: Starting new HTTPS connection (1): dl.google.com
INFO: openjdk-8-jdk isn't installed
ERROR: https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip couldn't finish download: HTTPSConnectionPool(host='dl.google.com', port=443): Max retries exceeded with url: /dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc0d4b419b0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
INFO: All pending downloads for [DownloadItem(url='https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip', checksum=Checksum(checksum_type=<ChecksumType.sha256: 'sha256'>, checksum_value='7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2'), headers=None, ignore_encoding=False, cookies=None)] done
ERROR: 
100% |########################################################################################################################################################################################################################################|
ERROR: Package requirements can't be met.
ERROR: HTTPSConnectionPool(host='dl.google.com', port=443): Max retries exceeded with url: /dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc0d4b419b0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
INFO: Starting new HTTPS connection (1): github.com
DEBUG: "GET /ubuntu/ubuntu-make/releases HTTP/1.1" 200 None
sukanime@Asus-X201EV:~/Downloads$ 

@TeguhTeknisi
Copy link

I try to install android studio using add-apt-repository ppa:maarten-fonville/android-studio && apt-get update && apt-get install android-studio
Its success.

Here the log:

root@Asus-X201EV:~# apt-get install android-studio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  extra-xdg-menus kicad-common libboost-context1.62.0 libglew2.0 libqt5serialport5 xsltproc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  lib32gcc1 lib32stdc++6
Suggested packages:
  default-jdk
The following NEW packages will be installed:
  android-studio lib32gcc1 lib32stdc++6
0 upgraded, 3 newly installed, 0 to remove and 27 not upgraded.
Need to get 503 kB of archives.
After this operation, 2.143 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu zesty/main amd64 android-studio amd64 171.4408382~zesty [36,1 kB]
Get:2 http://kambing.ui.ac.id/ubuntu zesty/main amd64 lib32gcc1 amd64 1:6.3.0-12ubuntu2 [47,8 kB]   
Get:3 http://kambing.ui.ac.id/ubuntu zesty/main amd64 lib32stdc++6 amd64 6.3.0-12ubuntu2 [419 kB]
Fetched 503 kB in 5s (95,1 kB/s)                                             
Selecting previously unselected package android-studio.
(Reading database ... 305972 files and directories currently installed.)
Preparing to unpack .../android-studio_171.4408382~zesty_amd64.deb ...
--2017-11-04 17:41:58--  https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip
Resolving dl.google.com (dl.google.com)... 74.125.68.190, 74.125.68.136, 74.125.68.91, ...
Connecting to dl.google.com (dl.google.com)|74.125.68.190|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 771324214 (736M) [application/zip]
Saving to: ‘/opt/android-studio-ide.zip’

/opt/android-studio-ide.zip                                 100%[==========================================================================================================================================>] 735,59M   240KB/s    in 62m 26s 

2017-11-04 18:44:23 (201 KB/s) - ‘/opt/android-studio-ide.zip’ saved [771324214/771324214]

Unpacking android-studio (171.4408382~zesty) ...
Selecting previously unselected package lib32gcc1.
Preparing to unpack .../lib32gcc1_1%3a6.3.0-12ubuntu2_amd64.deb ...
Unpacking lib32gcc1 (1:6.3.0-12ubuntu2) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../lib32stdc++6_6.3.0-12ubuntu2_amd64.deb ...
Unpacking lib32stdc++6 (6.3.0-12ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up android-studio (171.4408382~zesty) ...
Setting up lib32gcc1 (1:6.3.0-12ubuntu2) ...
Setting up lib32stdc++6 (6.3.0-12ubuntu2) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
You have new mail in /var/mail/root
root@Asus-X201EV:~#

@LyzardKing
Copy link
Collaborator

ubuntu-make installs the openjdk.
So there might be an issue with that, since you have the oracle version.
But I'm not able to test this atm.
Can you install openjdk-8-jdk or is it incompatible with the oracle install?

@TeguhTeknisi
Copy link

TeguhTeknisi commented Nov 4, 2017

Thanks for the reply,
Ok i will do it.

Here openjdk-8-jdk install log:

root@Asus-X201EV:/opt# apt-get install openjdk-8-jdk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  extra-xdg-menus kicad-common libboost-context1.62.0 libglew2.0 libqt5serialport5 xsltproc
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libice-dev libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-8-jdk-headless x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
  libice-doc libsm-doc libxcb-doc libxt-doc openjdk-8-demo openjdk-8-source visualvm
The following NEW packages will be installed:
  libice-dev libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-8-jdk openjdk-8-jdk-headless x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 16 newly installed, 0 to remove and 27 not upgraded.
Need to get 13,1 MB of archives.
After this operation, 59,4 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://kambing.ui.ac.id/ubuntu zesty/main amd64 xorg-sgml-doctools all 1:1.11-1 [12,9 kB]
Get:2 http://kambing.ui.ac.id/ubuntu zesty/main amd64 x11proto-core-dev all 7.0.31-1 [700 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu zesty-updates/main amd64 openjdk-8-jdk-headless amd64 8u131-b11-2ubuntu1.17.04.3 [8.245 kB]
Get:4 http://id.archive.ubuntu.com/ubuntu zesty-updates/main amd64 openjdk-8-jdk amd64 8u131-b11-2ubuntu1.17.04.3 [454 kB]                                                                                                                    
Get:5 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libice-dev amd64 2:1.0.9-1 [44,9 kB]                                                                                                                                                    
Get:6 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libpthread-stubs0-dev amd64 0.3-4 [4.068 B]                                                                                                                                             
Get:7 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libsm-dev amd64 2:1.2.2-1 [16,2 kB]                                                                                                                                                     
Get:8 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libxau-dev amd64 1:1.0.8-1 [11,1 kB]                                                                                                                                                    
Get:9 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libxdmcp-dev amd64 1:1.1.2-1.1 [25,1 kB]                                                                                                                                                
Get:10 http://kambing.ui.ac.id/ubuntu zesty/main amd64 x11proto-input-dev all 2.3.2-1 [118 kB]                                                                                                                                                
Get:11 http://kambing.ui.ac.id/ubuntu zesty/main amd64 x11proto-kb-dev all 1.0.7-1 [226 kB]                                                                                                                                                   
Get:12 http://kambing.ui.ac.id/ubuntu zesty/main amd64 xtrans-dev all 1.3.5-1 [70,5 kB]                                                                                                                                                       
Get:13 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libxcb1-dev amd64 1.11.1-1ubuntu1 [74,2 kB]                                                                                                                                            
Get:14 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libx11-dev amd64 2:1.6.4-3 [642 kB]                                                                                                                                                    
Get:15 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libx11-doc all 2:1.6.4-3 [2.067 kB]                                                                                                                                                    
Get:16 http://kambing.ui.ac.id/ubuntu zesty/main amd64 libxt-dev amd64 1:1.1.5-1 [395 kB]                                                                                                                                                     
Fetched 13,1 MB in 1min 7s (193 kB/s)                                                                                                                                                                                                         
Selecting previously unselected package xorg-sgml-doctools.
(Reading database ... 305984 files and directories currently installed.)
Preparing to unpack .../00-xorg-sgml-doctools_1%3a1.11-1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../01-x11proto-core-dev_7.0.31-1_all.deb ...
Unpacking x11proto-core-dev (7.0.31-1) ...
Selecting previously unselected package libice-dev:amd64.
Preparing to unpack .../02-libice-dev_2%3a1.0.9-1_amd64.deb ...
Unpacking libice-dev:amd64 (2:1.0.9-1) ...
Selecting previously unselected package libpthread-stubs0-dev:amd64.
Preparing to unpack .../03-libpthread-stubs0-dev_0.3-4_amd64.deb ...
Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ...
Selecting previously unselected package libsm-dev:amd64.
Preparing to unpack .../04-libsm-dev_2%3a1.2.2-1_amd64.deb ...
Unpacking libsm-dev:amd64 (2:1.2.2-1) ...
Selecting previously unselected package libxau-dev:amd64.
Preparing to unpack .../05-libxau-dev_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau-dev:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp-dev:amd64.
Preparing to unpack .../06-libxdmcp-dev_1%3a1.1.2-1.1_amd64.deb ...
Unpacking libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package x11proto-input-dev.
Preparing to unpack .../07-x11proto-input-dev_2.3.2-1_all.deb ...
Unpacking x11proto-input-dev (2.3.2-1) ...
Selecting previously unselected package x11proto-kb-dev.
Preparing to unpack .../08-x11proto-kb-dev_1.0.7-1_all.deb ...
Unpacking x11proto-kb-dev (1.0.7-1) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../09-xtrans-dev_1.3.5-1_all.deb ...
Unpacking xtrans-dev (1.3.5-1) ...
Selecting previously unselected package libxcb1-dev:amd64.
Preparing to unpack .../10-libxcb1-dev_1.11.1-1ubuntu1_amd64.deb ...
Unpacking libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libx11-dev:amd64.
Preparing to unpack .../11-libx11-dev_2%3a1.6.4-3_amd64.deb ...
Unpacking libx11-dev:amd64 (2:1.6.4-3) ...
Selecting previously unselected package libx11-doc.
Preparing to unpack .../12-libx11-doc_2%3a1.6.4-3_all.deb ...
Unpacking libx11-doc (2:1.6.4-3) ...
Selecting previously unselected package libxt-dev:amd64.
Preparing to unpack .../13-libxt-dev_1%3a1.1.5-1_amd64.deb ...
Unpacking libxt-dev:amd64 (1:1.1.5-1) ...
Selecting previously unselected package openjdk-8-jdk-headless:amd64.
Preparing to unpack .../14-openjdk-8-jdk-headless_8u131-b11-2ubuntu1.17.04.3_amd64.deb ...
Unpacking openjdk-8-jdk-headless:amd64 (8u131-b11-2ubuntu1.17.04.3) ...
Selecting previously unselected package openjdk-8-jdk:amd64.
Preparing to unpack .../15-openjdk-8-jdk_8u131-b11-2ubuntu1.17.04.3_amd64.deb ...
Unpacking openjdk-8-jdk:amd64 (8u131-b11-2ubuntu1.17.04.3) ...
Setting up libpthread-stubs0-dev:amd64 (0.3-4) ...
Setting up openjdk-8-jdk-headless:amd64 (8u131-b11-2ubuntu1.17.04.3) ...
Setting up openjdk-8-jdk:amd64 (8u131-b11-2ubuntu1.17.04.3) ...
Setting up xorg-sgml-doctools (1:1.11-1) ...
Setting up x11proto-kb-dev (1.0.7-1) ...
Processing triggers for sgml-base (1.29) ...
Setting up xtrans-dev (1.3.5-1) ...
Setting up libx11-doc (2:1.6.4-3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up x11proto-core-dev (7.0.31-1) ...
Setting up libxau-dev:amd64 (1:1.0.8-1) ...
Setting up libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
Setting up libice-dev:amd64 (2:1.0.9-1) ...
Setting up libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
Setting up x11proto-input-dev (2.3.2-1) ...
Setting up libsm-dev:amd64 (2:1.2.2-1) ...
Setting up libx11-dev:amd64 (2:1.6.4-3) ...
Setting up libxt-dev:amd64 (1:1.1.5-1) ...
root@Asus-X201EV:/opt#

and i remove android studio too, here the log:

sukanime@Asus-X201EV:/opt$ sudo apt-get remove android-studio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  extra-xdg-menus kicad-common lib32gcc1 lib32stdc++6 libboost-context1.62.0 libglew2.0 libqt5serialport5 xsltproc
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  android-studio
0 upgraded, 0 newly installed, 1 to remove and 27 not upgraded.
After this operation, 68,6 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 307549 files and directories currently installed.)
Removing android-studio (171.4408382~zesty) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
sukanime@Asus-X201EV:/opt$

now i'am in the progress install android studio with umake

@TeguhTeknisi
Copy link

Hi,
I cannot install it, here the last error log:

root@Asus-X201EV:/opt# umake -vv android --accept-license
INFO: Logging level set to DEBUG
DEBUG: New framework module: umake.frameworks.android
DEBUG: Found category: AndroidCategory
INFO: Create a new apt cache
DEBUG: Check if ['clang'] is installed
INFO: clang isn't installed
DEBUG: Opening None
INFO: No configuration file found
DEBUG: Attach framework AndroidNDK to Android
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk', 'libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework AndroidSDK to Android
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk', 'libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework AndroidStudio to Android
DEBUG: Check if [] is installed
INFO: Don't register Eclipse ADT as it's not installable on this configuration.
DEBUG: Attach framework EclipseADTForRemoval to Android
DEBUG: New framework module: umake.frameworks.baseinstaller
DEBUG: New framework module: umake.frameworks.dart
DEBUG: Found category: DartCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework DartLang to Dart
DEBUG: Check if [] is installed
INFO: Don't register Dart Editor as it's not installable on this configuration.
DEBUG: Attach framework DartLangEditorRemoval to Dart
DEBUG: New framework module: umake.frameworks.games
DEBUG: Found category: GamesCategory
DEBUG: Check if ['libxtst6:i386', 'libxext6:i386', 'libxi6:i386', 'libncurses5:i386', 'libxt6:i386', 'libxpm4:i386', 'libxmu6:i386', 'libgtk2.0-0:i386', 'libatk1.0-0:i386', 'libc6:i386', 'libcairo2:i386', 'libexpat1:i386', 'libfontconfig1:i386', 'libfreetype6:i386', 'libglib2.0-0:i386', 'libice6:i386', 'libpango1.0-0:i386', 'libpng12-0:i386', 'libsm6:i386', 'libxau6:i386', 'libxcursor1:i386', 'libxdmcp6:i386', 'libxfixes3:i386', 'libx11-6:i386', 'libxinerama1:i386', 'libxrandr2:i386', 'libxrender1:i386', 'zlib1g:i386', 'libnss3-1d:i386', 'libnspr4-0d:i386', 'libcurl3:i386', 'libasound2:i386'] is installed
INFO: libxtst6:i386 isn't installed
INFO: libxt6:i386 isn't installed
INFO: libxpm4:i386 isn't installed
INFO: libxmu6:i386 isn't installed
INFO: libice6:i386 isn't installed
INFO: libpango1.0-0:i386 isn't installed
INFO: libpng12-0:i386 isn't installed
INFO: libsm6:i386 isn't installed
INFO: libnss3-1d:i386 isn't installed
INFO: libnspr4-0d:i386 isn't installed
INFO: libcurl3:i386 isn't installed
INFO: libasound2:i386 isn't installed
INFO: libpng12-0:i386 isn't available on this platform
INFO: libnss3-1d:i386 isn't available on this platform
INFO: libnspr4-0d:i386 isn't available on this platform
INFO: Don't register Stencyl as it's not installable on this configuration.
DEBUG: Attach framework Stencyl to Games
DEBUG: Check if [] is installed
DEBUG: Attach framework Superpowers to Games
DEBUG: Check if [] is installed
DEBUG: Attach framework Twine to Games
DEBUG: Attach framework Unity3D to Games
DEBUG: New framework module: umake.frameworks.go
DEBUG: Found category: GoCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework GoLang to Go
DEBUG: New framework module: umake.frameworks.ide
DEBUG: Found category: IdeCategory
DEBUG: Check if ['gcc-avr', 'avr-libc'] is installed
INFO: gcc-avr isn't installed
INFO: avr-libc isn't installed
DEBUG: Attach framework Arduino to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework Atom to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework BaseNetBeans to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework CLion to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework DataGrip to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework EclipseCPP to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework EclipseJEE to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework EclipseJava to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework EclipsePHP to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework Idea to IDE
DEBUG: Check if ['openjdk-7-jdk | openjdk-8-jdk'] is installed
DEBUG: Check if ['openjdk-7-jdk'] is installed
INFO: openjdk-7-jdk isn't installed
DEBUG: Check if ['openjdk-8-jdk'] is installed
DEBUG: Attach framework IdeaUltimate to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework LightTable to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework PhpStorm to IDE
DEBUG: Check if ['python', 'python3'] is installed
DEBUG: Attach framework PyCharm to IDE
DEBUG: Check if ['python', 'python3'] is installed
DEBUG: Attach framework PyCharmEducational to IDE
DEBUG: Check if ['python', 'python3'] is installed
DEBUG: Attach framework PyCharmProfessional to IDE
DEBUG: Check if ['ruby'] is installed
DEBUG: Attach framework RubyMine to IDE
DEBUG: Attach framework SpringToolsSuite to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework SublimeText to IDE
DEBUG: Check if ['libgtk2.0-0'] is installed
DEBUG: Attach framework VisualStudioCode to IDE
DEBUG: Check if [] is installed
DEBUG: Attach framework WebStorm to IDE
DEBUG: New framework module: umake.frameworks.kotlin
DEBUG: Found category: KotlinCategory
DEBUG: Check if ['openjdk-7-jre | openjdk-8-jre'] is installed
DEBUG: Check if ['openjdk-7-jre'] is installed
INFO: openjdk-7-jre isn't installed
DEBUG: Check if ['openjdk-8-jre'] is installed
DEBUG: Attach framework KotlinLang to Kotlin
DEBUG: New framework module: umake.frameworks.nodejs
DEBUG: Found category: NodejsCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework NodejsLang to Nodejs
DEBUG: New framework module: umake.frameworks.rust
DEBUG: Found category: RustCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework RustLang to Rust
DEBUG: New framework module: umake.frameworks.scala
DEBUG: Found category: ScalaCategory
DEBUG: Check if ['openjdk-7-jre | openjdk-8-jre'] is installed
DEBUG: Check if ['openjdk-7-jre'] is installed
INFO: openjdk-7-jre isn't installed
DEBUG: Check if ['openjdk-8-jre'] is installed
DEBUG: Attach framework ScalaLang to Scala
DEBUG: New framework module: umake.frameworks.swift
DEBUG: Found category: SwiftCategory
DEBUG: Check if ['clang', 'libicu-dev'] is installed
INFO: clang isn't installed
INFO: libicu-dev isn't installed
DEBUG: Attach framework SwiftLang to Swift
DEBUG: New framework module: umake.frameworks.web
DEBUG: Found category: WebCategory
DEBUG: Check if [] is installed
DEBUG: Attach framework FirefoxDev to Web
DEBUG: Check if ['libgtk2.0-0'] is installed
DEBUG: Attach framework VisualStudioCode to Web
DEBUG: Skipping main having no framework
DEBUG: Call run_for on Android Studio
DEBUG: No installation path provided. Requesting one.
Choose installation path: /opt/android-studio
DEBUG: Installation path provided. Checking if exists.
DEBUG: Download application provider page
INFO: Start downloading DownloadItem(url='https://developer.android.com/studio/index.html', checksum=None, headers=None, ignore_encoding=False, cookies=None) in memory
INFO: Starting new HTTPS connection (1): developer.android.com
DEBUG: "GET /studio/index.html HTTP/1.1" 200 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 0}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 8192}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 16384}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 24576}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 32768}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 40960}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 49152}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 57344}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 65536}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 73728}} of 80332
DEBUG: Deliver download update: {'https://developer.android.com/studio/index.html': {'size': 80332, 'current': 80332}} of 80332
INFO: https://developer.android.com/studio/index.html download finished
INFO: All pending downloads for [DownloadItem(url='https://developer.android.com/studio/index.html', checksum=None, headers=None, ignore_encoding=False, cookies=None)] done
DEBUG: Parse download metadata
DEBUG: Found download link for https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip, checksum: 7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2
INFO: Installation ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] pending                                                                                                                                             |
DEBUG: Check if ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] is uptodate
DEBUG: Starting ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] installation
DEBUG: Check if ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] is uptodate
DEBUG: ['libncurses5:i386', 'libstdc++6:i386', 'zlib1g:i386', 'openjdk-8-jdk'] installed
INFO: Start downloading DownloadItem(url='https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip', checksum=Checksum(checksum_type=<ChecksumType.sha256: 'sha256'>, checksum_value='7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2'), headers=None, ignore_encoding=False, cookies=None) to a temp file
Downloading and installing requirements
INFO: Starting new HTTPS connection (1): dl.google.com

---- cut ----
DEBUG: Deliver download update: {'https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip': {'current': 771317760, 'size': 771324214}} of 771324214
DEBUG: Deliver download update: {'https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip': {'current': 771324214, 'size': 771324214}} of 771324214
DEBUG: Checking checksum (sha256).
DEBUG: Expected: 7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2, actual: 7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2.
INFO: https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip download finished
INFO: All pending downloads for [DownloadItem(url='https://dl.google.com/dl/android/studio/ide-zips/3.0.0.18/android-studio-ide-171.4408382-linux.zip', checksum=Checksum(checksum_type=<ChecksumType.sha256: 'sha256'>, checksum_value='7991f95ea1b6c55645a3fc48f1534d4135501a07b9d92dd83672f936d9a9d7a2'), headers=None, ignore_encoding=False, cookies=None)] done
100% |#########################################################################################################################################################################################################################################|
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/frameworks/baseinstaller.py", line 371, in download_and_requirements_done
    self.decompress_and_install(fds)
  File "/usr/lib/python3/dist-packages/umake/frameworks/baseinstaller.py", line 382, in decompress_and_install
    os.makedirs(self.install_path, exist_ok=True)
  File "/usr/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/opt/android-studio'
Installing Android Studio
root@Asus-X201EV:/opt#

@LyzardKing
Copy link
Collaborator

I see.
Umake is intended to be used to install in your home directory.
See #79 for a similar issue.

@TeguhTeknisi
Copy link

Thanks for the Reply.

Hmm, so using Super User still failed it because i have to give path to my home directory.
So i will give up, and i hope it will support install to /opt/

i will install android studio using add-apt-repository ppa:maarten-fonville/android-studio
its will install to /opt/

Best Regrads,
Teguh

@LyzardKing
Copy link
Collaborator

Did you try running sudo umake android?
Not running from the root user

@TeguhTeknisi
Copy link

no, not yet.
i use sudo su then umake -vv android --accept-license

sukanime@Asus-X201EV:/opt$ sudo su
root@Asus-X201EV:/opt# umake -vv android --accept-license

@LyzardKing
Copy link
Collaborator

try sudo umake android --accept-license

@TeguhTeknisi
Copy link

ok, i will try it.

@TeguhTeknisi
Copy link

Hi,
I cannot install it with sudo, here the log:

sukanime@Asus-X201EV:/opt$ sudo umake android --accept-license
[sudo] password for sukanime: 
Choose installation path: /opt/android-studio
Downloading and installing requirements                                                                                                                                                                                                        |
100% |#########################################################################################################################################################################################################################################|
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/frameworks/baseinstaller.py", line 371, in download_and_requirements_done
    self.decompress_and_install(fds)
  File "/usr/lib/python3/dist-packages/umake/frameworks/baseinstaller.py", line 382, in decompress_and_install
    os.makedirs(self.install_path, exist_ok=True)
  File "/usr/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/opt/android-studio'
Installing Android Studio
sukanime@Asus-X201EV:/opt$ 

Thanks alot, i will give up.
I will use add-apt-repository ppa:maarten-fonville/android-studio

@LyzardKing
Copy link
Collaborator

Ok, thanks for testing it out.
in the issue I linked there's a workaround, but you won't have a launcher set up in the menus

@TeguhTeknisi
Copy link

Your welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants