Android Studio 2.2 se bloquea con frecuencia en Ubuntu 16.04

Pregunta:

Estaba usando Android Studio en mi Ubuntu 14.04 de 64 bits. Eso funcionó bien. Recientemente instalé Ubuntu 16.04 de 64 bits y también instalé Android Studio 2.2 en mi PC. Pero mi Android Studio se bloquea con frecuencia. Cierra instantáneamente.

Mi versión de Java:

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

También creé la variable $JAVA_HOME . Establecí la ubicación correcta de jdk en mi Studio. Pero se bloquea con frecuencia. Aquí con he adjuntado el informe de error de Studio.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff6aba86384, pid=3955, tid=0x00007ff684e6d700
#
# JRE version: OpenJDK Runtime Environment (8.0_76-b03) (build 1.8.0_76-release-b03)
# Java VM: OpenJDK 64-Bit Server VM (25.76-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x895384]  PhaseCCP::analyze()+0x274
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x00007ff6a40fa800):  JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=3968, stack(0x00007ff684d6d000,0x00007ff684e6e000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 128 (SI_KERNEL), si_addr: 0x0000000000000000...

No sé por qué ocurre este problema. Porfavor ayudame a resolver este problema.

Respuesta:

como veo, estás intentando ejecutar Android Studio usando Java SE. Instale Oracle Java 8 Java Development Kit (JDK) y File_>Project Structure en Android Studio mediante File_>Project Structure .

Leave a Comment

Your email address will not be published. Required fields are marked *

web tasarım