Ask Your Question

Unable to install android studio in fedora 26 gnome?

asked 2017-08-01 00:10:03 -0500

ddkroyal001 gravatar image

Unable to install android studio in fedora 26

[root@localhost bin]# sh

Startup Error: Unable to detect graphics environment

edit retag flag offensive close merge delete


Just guessing, try it on Gnome on Xorg.

fcomida gravatar imagefcomida ( 2017-08-01 01:32:33 -0500 )edit

yes installation begins but with some warning

[root@localhost ~]# /opt/android-studio-ide-162.4069837-linux/android-studio/bin/ Looking in classpath from com.intellij.util.lang.UrlClassLoader@6d5380c2 for /com/sun/jna/linux-x86-64/ Found library resource at jar:file:/opt/android-studio-ide-162.4069837-linux/android-studio/lib/jna.jar!/com/sun/jna/linux-x86-64/ Trying /root/.AndroidStudio2.3/system/tmp/jna4973429775905588854.tmp Found jnidispatch at /root/.AndroidStudio2.3/system/tmp/jna4973429775905588854.tmp Aug 01, 2017 12:36:07 PM java.ut

ddkroyal001 gravatar imageddkroyal001 ( 2017-08-01 02:45:54 -0500 )edit

now stuck with screen message " we have detected that your system can run the android emulator in an perfomance mode. Linux-based systems support virtual machine acceleration through the KVM. Search for intall information for particular linux configuration that KVM is enabled for faster android emulator. "

what to do next?

ddkroyal001 gravatar imageddkroyal001 ( 2017-08-01 02:54:30 -0500 )edit

Install qemu-kvm and libvirt, this Intel page has some explanation not specific to fedora: Speeding Up the Android Emulator on Intel Architecture

fcomida gravatar imagefcomida ( 2017-08-01 03:37:10 -0500 )edit

can i install sdk mashmellow to my android device through usb by android studio?

ddkroyal001 gravatar imageddkroyal001 ( 2017-08-01 11:38:39 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-01 10:55:00 -0500

muep gravatar image

updated 2017-08-01 10:56:08 -0500

When I tried it recently, Android Studio worked just fine in F26 Gnome when I run it as my normal user. I would strongly recommend *against *running it as root in any case.

edit flag offensive delete link more



thanks its working here also

ddkroyal001 gravatar imageddkroyal001 ( 2017-08-01 11:37:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-08-01 00:10:03 -0500

Seen: 466 times

Last updated: Aug 01 '17