Я следовал официальному руководству, скачал соответствующий файл linux, распаковал его в /usr/local/
и запустил скрипт studio.sh
из /usr/local/android-studio/bin/
. И я получил следующее сообщение
Internal error. Please refer to https://code.google.com/p/android/issues
io.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioServerSocketChannel
at io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:40)
at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:319)
at io.netty.bootstrap.AbstractBootstrap.doBind(AbstractBootstrap.java:281)
at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:277)
at io.netty.bootstrap.AbstractBootstrap.bind(AbstractBootstrap.java:266)
at org.jetbrains.io.BuiltInServer$Companion.bind(BuiltInServer.kt:108)
at org.jetbrains.io.BuiltInServer$Companion.start(BuiltInServer.kt:78)
at org.jetbrains.io.BuiltInServer$Companion.startNioOrOio(BuiltInServer.kt:65)
at org.jetbrains.io.BuiltInServer.startNioOrOio(BuiltInServer.kt)
at com.intellij.idea.SocketLock.lambda$lock$2(SocketLock.java:140)
at com.intellij.idea.SocketLock.underLocks(SocketLock.java:173)
at com.intellij.idea.SocketLock.lock(SocketLock.java:116)
at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:482)
at com.intellij.idea.StartupUtil.lockDirsAndConfigureLogger(StartupUtil.java:252)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:184)
at com.intellij.idea.MainImpl.start(MainImpl.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:58)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class io.netty.buffer.ByteBufAllocator
at io.netty.channel.DefaultChannelConfig.<init>(DefaultChannelConfig.java:70)
at io.netty.channel.DefaultChannelConfig.<init>(DefaultChannelConfig.java:82)
at io.netty.channel.socket.DefaultServerSocketChannelConfig.<init>(DefaultServerSocketChannelConfig.java:48)
at io.netty.channel.socket.nio.NioServerSocketChannel$NioServerSocketChannelConfig.<init>(NioServerSocketChannel.java:189)
at io.netty.channel.socket.nio.NioServerSocketChannel$NioServerSocketChannelConfig.<init>(NioServerSocketChannel.java:187)
at io.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:85)
at io.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServerSocketChannel.java:70)
at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at io.netty.channel.ReflectiveChannelFactory.newChannel(ReflectiveChannelFactory.java:38)
... 21 more
-----
JRE 1.8.0_212-release-1586-b4-5784211 amd64 by JetBrains s.r.o
/usr/local/android-studio/jre/jre`