Problemas na instalação do android-Studio

1. Problemas na instalação do android-Studio

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 10/08/2016 - 23:56h

Pessoal estou tentando intalar o Android estúdio no Debian 7 e estou tento problemas.
Podem me ajudar?

root@hotpc2:/home/brainiac/Downloads/android-studio/bin# ls
appletviewer.policy idea.properties lldb studio.sh
fsnotifier inspect.sh log.xml studio.vmoptions
fsnotifier64 libbreakgen64.so studio64.vmoptions
fsnotifier-arm libbreakgen.so studio.png
root@hotpc2:/home/brainiac/Downloads/android-studio/bin# ./studio.sh
No protocol specified

Start Failed: Internal Error. Please report to https://https://code.google.com/p/android/issues

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:39)
at com.intellij.idea.Main.main(Main.java:103)
Caused by: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:120)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at java.awt.Toolkit$2.run(Toolkit.java:869)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:861)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1756)
at java.awt.EventQueue.isDispatchThread(EventQueue.java:1025)
at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1360)
at javax.swing.text.StyleContext.reclaim(StyleContext.java:454)
at javax.swing.text.StyleContext.addAttribute(StyleContext.java:311)
at javax.swing.text.html.StyleSheet.addAttribute(StyleSheet.java:578)
at javax.swing.text.StyleContext$NamedStyle.addAttribute(StyleContext.java:1501)
at javax.swing.text.StyleContext$NamedStyle.setName(StyleContext.java:1312)
at javax.swing.text.StyleContext$NamedStyle.<init>(StyleContext.java:1259)
at javax.swing.text.StyleContext.addStyle(StyleContext.java:107)
at javax.swing.text.StyleContext.<init>(StyleContext.java:87)
at javax.swing.text.html.StyleSheet.<init>(StyleSheet.java:166)
at javax.swing.text.html.HTMLEditorKit.getStyleSheet(HTMLEditorKit.java:392)
at com.intellij.util.ui.UIUtil.<clinit>(UIUtil.java:98)
at com.intellij.ide.plugins.PluginManager.start(PluginManager.java:71)
... 6 more


Also, an UI exception occurred on attempt to show above message:
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
at javax.swing.RepaintManager.<clinit>(RepaintManager.java:212)
at javax.swing.JComponent.repaint(JComponent.java:4796)
at java.awt.Component.repaint(Component.java:3297)
at javax.swing.text.JTextComponent.setEditable(JTextComponent.java:1807)
at javax.swing.text.JTextComponent.<init>(JTextComponent.java:319)
at javax.swing.JEditorPane.<init>(JEditorPane.java:197)
at javax.swing.JTextPane.<init>(JTextPane.java:90)
at com.intellij.idea.Main.showMessage(Main.java:336)
at com.intellij.idea.Main.showMessage(Main.java:312)
at com.intellij.idea.Main.showMessage(Main.java:291)
at com.intellij.idea.Main.main(Main.java:106)
root@hotpc2:/home/brainiac/Downloads/android-studio/bin#



  


2. Re: Problemas na instalação do android-Studio

Marco Brainiac
mbrainiac

(usa Debian)

Enviado em 11/08/2016 - 00:22h

oot@hotpc2:/home/brainiac/Downloads/android-studio/bin# java -version
+ java -version
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-1~deb7u1)
OpenJDK Server VM (build 24.111-b01, mixed mode)
root@hotpc2:/home/brainiac/Downloads/android-studio/bin#


root@hotpc2:/home/brainiac/Downloads/android-studio/bin# javac -version
+ javac -version
javac 1.6.0_38










Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts