运行android-studio报错了

系统版本 13.2 64 位的 系统自带的 java 和自己从官网下载的都可以用 就是运行这个报错 不知道具体原因在那里 请知道的告知一下 谢谢
下面是模拟终端的内容 复制来了

 ./studio.sh
  26678]  ERROR - llij.ide.plugins.PluginManager - java.lang.NullPointerException 
java.lang.RuntimeException: java.lang.NullPointerException
        at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178)
        at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
        at java.awt.EventQueue.access$300(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:706)
        at java.awt.EventQueue$3.run(EventQueue.java:704)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
        at com.android.tools.idea.welcome.AndroidVirtualDevice.<init>(AndroidVirtualDevice.java:81)
        at com.android.tools.idea.welcome.InstallComponentsPath.createComponentTree(InstallComponentsPath.java:89)
        at com.android.tools.idea.welcome.InstallComponentsPath.init(InstallComponentsPath.java:215)
        at com.android.tools.idea.wizard.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:97)
        at com.android.tools.idea.wizard.DynamicWizard.addPath(DynamicWizard.java:233)
        at com.android.tools.idea.welcome.FirstRunWizard.init(FirstRunWizard.java:75)
        at com.android.tools.idea.welcome.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:100)
        at com.android.tools.idea.welcome.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:92)
        at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:68)
        at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:173)
        at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:302)
        at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:172)
        ... 16 more
  26685]  ERROR - llij.ide.plugins.PluginManager - Android Studio 1.2  Build #AI-141.1890965 
  26685]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.7.0_85 
  26685]  ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM 
  26685]  ERROR - llij.ide.plugins.PluginManager - Vendor: Oracle Corporation 
  26685]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 
  26686]  ERROR - llij.ide.plugins.PluginManager - Last Action:  

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

java.lang.RuntimeException: java.lang.NullPointerException
        at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178)
        at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
        at java.awt.EventQueue.access$300(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:706)
        at java.awt.EventQueue$3.run(EventQueue.java:704)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
        at com.android.tools.idea.welcome.AndroidVirtualDevice.<init>(AndroidVirtualDevice.java:81)
        at com.android.tools.idea.welcome.InstallComponentsPath.createComponentTree(InstallComponentsPath.java:89)
        at com.android.tools.idea.welcome.InstallComponentsPath.init(InstallComponentsPath.java:215)
        at com.android.tools.idea.wizard.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:97)
        at com.android.tools.idea.wizard.DynamicWizard.addPath(DynamicWizard.java:233)
        at com.android.tools.idea.welcome.FirstRunWizard.init(FirstRunWizard.java:75)
        at com.android.tools.idea.welcome.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:100)
        at com.android.tools.idea.welcome.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:92)
        at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:68)
        at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:173)
        at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:302)
        at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:172)
        ... 16 more

  26953]  ERROR - pplication.impl.LaterInvocator - null 
java.lang.NullPointerException
        at com.intellij.ide.SystemHealthMonitor$2$1.run(SystemHealthMonitor.java:128)
        at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
        at java.awt.EventQueue.access$300(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:706)
        at java.awt.EventQueue$3.run(EventQueue.java:704)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
        at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
        at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
        at java.awt.Dialog.show(Dialog.java:1082)
        at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:870)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:667)
        at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:638)
        at com.intellij.idea.Main.showMessage(Main.java:249)
        at com.intellij.idea.Main.showMessage(Main.java:217)
        at com.intellij.ide.plugins.PluginManager.processException(PluginManager.java:129)
        at com.intellij.ide.IdeEventQueue.processException(IdeEventQueue.java:403)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
  26955]  ERROR - pplication.impl.LaterInvocator - Android Studio 1.2  Build #AI-141.1890965 
  26955]  ERROR - pplication.impl.LaterInvocator - JDK: 1.7.0_85 
  26955]  ERROR - pplication.impl.LaterInvocator - VM: OpenJDK 64-Bit Server VM 
  26955]  ERROR - pplication.impl.LaterInvocator - Vendor: Oracle Corporation 
  26955]  ERROR - pplication.impl.LaterInvocator - OS: Linux 
  26955]  ERROR - pplication.impl.LaterInvocator - Last Action:  




终端输入 java -version
结果是下面的 晕了
openjdk version "1.8.0_51"
OpenJDK Runtime Environment (build 1.8.0_51-b16)
OpenJDK 64-Bit Server VM (build 25.51-b03, mixed mode)

帮你搜了一把 com.android.tools.idea.welcome.AndroidVirtualDevice.
可以尝试把 Android Studio\bin\idea.properties 文件改一下 disable.android.first.run=true

参考
stackoverflow.com/questions/30044635/android-studio-v1-2-0-start-up-error-java-lang-nullpointerexception
android-review.googlesource.com/#/c/149285/

谢谢了 不过我这个配置文件里面没有这个选项啊

是版本的问题 我重新下载了最新的 可以了