Android Studio在Fedora上崩溃

时间:2015-07-21 12:23:49

标签: android android-studio

我已经在Fedora上安装了Android Studio,并在/opt/Android studio/上复制了它,但每次我通过/opt/Android studio/bin/studio.sh打开它,只需点击几下就会崩溃并返回

(java:4075): Gdk-CRITICAL **: IA__gdk_threads_set_lock_functions: assertion 'gdk_threads_lock == NULL && gdk_threads_unlock == NULL' failed
Attempt to unlock mutex that was not locked
./studio.sh: line 188:  4075 Aborted                 (core dumped) LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "$JDK/bin/java" $AGENT "-Xbootclasspath/a:$IDE_HOME/lib/boot.jar" -classpath "$CLASSPATH" $VM_OPTIONS "-Djb.vmOptionsFile=$VM_OPTIONS_FILES_USED" "-XX:ErrorFile=$HOME/java_error_in_STUDIO_%p.log" -Djb.restart.code=88 -Didea.paths.selector=AndroidStudio1.2 $IDE_PROPERTIES_PROPERTY $IDE_JVM_ARGS $REQUIRED_JVM_ARGS $MAIN_CLASS_NAME "$@"

我不知道为什么。

抱歉我的英语不好但我不是本地人

1 个答案:

答案 0 :(得分:-1)

我遇到了同样的问题但在运行以下安装后修复了它:

dnf install java-1.8.0-openjdk-devel.x86_64