[Solved] AndroidStudio not downloading repository

Questions about applications and software
Forum rules
Before you post please read how to get help
amaci
Level 1
Level 1
Posts: 12
Joined: Mon Nov 06, 2017 7:37 am

[Solved] AndroidStudio not downloading repository

Postby amaci » Mon Nov 06, 2017 12:16 pm

Hello, I am a new forum user, I installed Linux Mint today from an Ubuntu system. I switched because I want to try Mint again (after many years) but also because I failed to install Android Studio on Ubuntu. I was not able to install it on Mint too, you can see what is going on through the attachment. It goes stuck after I hit the finish button of the first installation procedure, it tries to download its repository I think.
What can I do?
Thanks in advance
Last edited by amaci on Thu Nov 09, 2017 9:11 am, edited 1 time in total.

User avatar
phd21
Level 13
Level 13
Posts: 4908
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: AndroidStudio not downloading repository

Postby phd21 » Mon Nov 06, 2017 1:19 pm

Hi "amaci",

Welcome to the wonderful world of Linux Mint and its excellent forum !

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

it would help to know how you tried to install this?

2 Ways to Install Android Studio in Ubuntu 16.04 and Ubuntu 17.04
(works with Linux Mint 18.x or 17.x)
https://www.linuxbabe.com/ubuntu/install-android-studio-ubuntu-16-04

Android Studio 3.0 Released! How to Install it in Ubuntu, October 26, 2017
http://ubuntuhandbook.org/index.php/2017/10/android-studio-3-0-released-how-to-install-it-in-ubuntu/

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

amaci
Level 1
Level 1
Posts: 12
Joined: Mon Nov 06, 2017 7:37 am

Re: AndroidStudio not downloading repository

Postby amaci » Mon Nov 06, 2017 1:29 pm

I downloaded the compressed archive from official site then unpacked and executed studio.sh from the bin folder as user. I installed the required 64bit libraries too.
inxi -Fxzd output

Code: Select all

System:    Host: pc Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: ASUSTeK (portable) product: S300CA v: 1.0
           Mobo: ASUSTeK model: S300CA v: 1.0
           Bios: American Megatrends v: S300CA.301 date: 12/25/2012
CPU:       Dual core Intel Core i5-3317U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6784
           clock speeds: max: 2600 MHz 1: 1550 MHz 2: 2327 MHz 3: 2294 MHz
           4: 1447 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.02hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card-1 Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Roland EDIROL UA-4FX driver: USB Audio usb-ID: 003-004
           Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network:   Card-1: Qualcomm Atheros AR9485 Wireless Network Adapter
           driver: ath9k bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Qualcomm Atheros AR8161 Gigabit Ethernet
           driver: alx port: e000 bus-ID: 03:00.0
           IF: enp3s0 state: down mac: <filter>
           Card-3: Atmel usb-ID: 001-008
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 500.1GB (15.8% used)
           ID-1: /dev/sda model: Hitachi_HTS54505 size: 500.1GB
           Optical: No optical drives detected.
Partition: ID-1: / size: 455G used: 68G (16%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 4.17GB used: 0.40GB (9%) fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 73.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 5700
Info:      Processes: 245 Uptime: 6:42 Memory: 2250.8/3837.2MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

lsusb output

Code: Select all

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 008: ID 03eb:8810 Atmel Corp.
Bus 001 Device 004: ID 0bda:5705 Realtek Semiconductor Corp.
Bus 001 Device 007: ID 13d3:3402 IMC Networks
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 14aa:0226 WideView Technology Inc.
Bus 003 Device 008: ID 043d:007b Lexmark International, Inc. InkJet Color Printer
Bus 003 Device 007: ID 043d:007c Lexmark International, Inc. X1110/X1130/X1140/X1150/X1170/X1180/X1185
Bus 003 Device 005: ID 043d:007a Lexmark International, Inc. Generic Hub
Bus 003 Device 004: ID 0582:00a3 Roland Corp. EDIROL UA-4FX
Bus 003 Device 003: ID 0458:00fe KYE Systems Corp. (Mouse Systems)
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

User avatar
phd21
Level 13
Level 13
Posts: 4908
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: AndroidStudio not downloading repository

Postby phd21 » Mon Nov 06, 2017 1:45 pm

Hi "amaci",

I do not see anything wrong with the results of the "inxi -Fxzd" console terminal command, so that is a good thing. You are using Linux Mint 18.2 Cinnamon edition (64-bit).

I would recommend using the instructions from the links I provided. The PPA method should work well for this and keep the software updated, but you can also download their easy to install ".deb" files and double click those to install it that way.

To install this using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert), repeat for each command.

Code: Select all

sudo add-apt-repository ppa:maarten-fonville/android-studio

Code: Select all

sudo apt update

Code: Select all

sudo apt install android-studio


Or download and install their linux deb files

Linux Mint 18.x based on Ubuntu 16.04
64-bit
Android Studio.
https://launchpad.net/~maarten-fonville/+archive/ubuntu/android-studio/+files/android-studio_171.4408382~xenial_amd64.deb

android-studio-preview
https://launchpad.net/~maarten-fonville/+archive/ubuntu/android-studio/+files/android-studio-preview_171.4429293~xenial_amd64.deb

32-bit
Android Studio.
https://launchpad.net/~maarten-fonville/+archive/ubuntu/android-studio/+files/android-studio_171.4408382~xenial_i386.deb

android-studio-preview
https://launchpad.net/~maarten-fonville/+archive/ubuntu/android-studio/+files/android-studio-preview_171.4429293~xenial_i386.deb



There are also deb files for Linux Mint 17.x as well



Hope this helps ...
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

amaci
Level 1
Level 1
Posts: 12
Joined: Mon Nov 06, 2017 7:37 am

Re: AndroidStudio not downloading repository

Postby amaci » Mon Nov 06, 2017 1:58 pm

Thank you,
I have to say I prefer not to install from the mentioned ppa source, I think it is good to follow official guidelines and understand why it does not work.

User avatar
minitux
Level 5
Level 5
Posts: 587
Joined: Tue Sep 12, 2017 10:05 am

Re: AndroidStudio not downloading repository

Postby minitux » Mon Nov 06, 2017 2:06 pm

Sorry for my English, is not my language

When you ask for support, put the output of inxi -Fxz

amaci
Level 1
Level 1
Posts: 12
Joined: Mon Nov 06, 2017 7:37 am

Re: AndroidStudio not downloading repository

Postby amaci » Mon Nov 06, 2017 2:36 pm

using sudo is not solving too

User avatar
minitux
Level 5
Level 5
Posts: 587
Joined: Tue Sep 12, 2017 10:05 am

Re: AndroidStudio not downloading repository

Postby minitux » Mon Nov 06, 2017 3:46 pm

do not let others understand anything you write, do not put a link to the guide you follow and no full outputs.

What is this ? where does it come from? what are you doing ?
amaci wrote:using sudo is not solving too

if you want someone to help you have to be more precise
Sorry for my English, is not my language

When you ask for support, put the output of inxi -Fxz

amaci
Level 1
Level 1
Posts: 12
Joined: Mon Nov 06, 2017 7:37 am

Re: AndroidStudio not downloading repository

Postby amaci » Wed Nov 08, 2017 12:27 pm

I tried to install AndroidStudio on Windows10 and I thought the issue was also there, but I left the installer going on and after some time I realized it was downloading and installing, so it succeeded.
It is possible that also with Mint it would be the same, waiting for the installer to find its way to download the repository. I am not sure, I cannot check it now.
I hope this is helpful for someone.

User avatar
phd21
Level 13
Level 13
Posts: 4908
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: AndroidStudio not downloading repository

Postby phd21 » Wed Nov 08, 2017 2:17 pm

Hi "amaci",

FYI: I think you should also have the Java runtime(s) installed before installing this (I did). Usually Open Java 8 is already installed in Linux Mint, but you might need Oracle's Java 8 runtime installed too.

You can spend a lot of time trying to figure out why your system may not be installing something using one particular method, or you can try another installation option.

I just installed the Android Studio using the PPA method and it worked perfectly as usual, but you can use the "deb" files as well. You can always disable a PPA afterwards if you want by unchecking it in your "Software Sources"; keeping the PPA active will ensure updates though.


Hope this helps ...

LinuxMint18x_Android_Studio1.jpg


LinuxMint18x_Android_Studio2sm.jpg


LinuxMint18x_Android_Studio3.jpg
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

amaci
Level 1
Level 1
Posts: 12
Joined: Mon Nov 06, 2017 7:37 am

Re: AndroidStudio not downloading repository

Postby amaci » Thu Nov 09, 2017 9:10 am

Now I am on Linux Mint Mate Edition and I was able to install Android Studio, provided I waited some time for the download to happen.
So it was neither Linux problem nor Mint problem.


Return to “Software & Applications”