Installing android-studio

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
aurquiel
Level 1
Level 1
Posts: 40
Joined: Mon Dec 09, 2013 9:08 pm

Installing android-studio

Post by aurquiel » Tue Mar 06, 2018 5:03 pm

I was trying to install android studio but i have the following java error.

I followed this steps:

Installing Java

Code: Select all

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
Installing android-studio

1 -Download Android Studio from here, use All Android Studio Packages

2- Execute ./studio.sh

The error code launched:

Code: Select all

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00007f24a317ca66, pid=26317, tid=0x00007f24aa23f700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libzip.so+0x13a66]  readCEN+0xb46
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/void/java_error_in_STUDIO_26317.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

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

Re: Installing android-studio

Post by phd21 » Tue Mar 06, 2018 6:34 pm

HI aurquiel,

Not sure why using their installation script file is not working for you, but I use the instructions from the link below to install AndroidStudio and it works well.

[Solved] AndroidStudio not downloading repository - Linux Mint Forums
viewtopic.php?f=47&t=256737&hilit=android+studio

You could try their installation script command as root user, maybe that will help.

Code: Select all

sudo bash studio.sh
or

Code: Select all

sudo ./studio.sh

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

Post Reply

Return to “Software & Applications”