java.lang.AssertionError:意外的节点Pythonid; nodes = [org.jetbrains.plugins.terminal,org.jetbrains.plugins.javaFX

时间:2015-07-26 04:49:11

标签: android android-studio

有人知道以下问题的解决方法是什么?

除了https://code.google.com/p/android/issues/detail?id=164202

之外我找不到任何有用的东西

Android Studio要求我安装一些插件后出现问题:

内部错误。请报告https://code.google.com/p/android/issues

java.lang.AssertionError: Unexpected node Pythonid; nodes=[org.jetbrains.plugins.terminal, org.jetbrains.plugins.javaFX, org.jetbrains.plugins.gradle, org.jetbrains.plugins.github, org.jetbrains.java.decompiler, org.jetbrains.idea.maven, org.jetbrains.android, org.intellij.intelliLang, org.intellij.groovy, org.editorconfig.editorconfigjetbrains, hg4idea, com.millennialmedia.intellibot, com.jivesoftware.robot.intellij.plugin, com.intellij.ui-designer-new, com.intellij.tasks, com.intellij.properties, com.intellij.modules.xml, com.intellij.modules.xdebugger, com.intellij.modules.vcs, com.intellij.modules.python, com.intellij.modules.platform, com.intellij.modules.lang, com.intellij.modules.json, com.intellij.modules.java, com.intellij.modules.androidstudio, com.intellij.modules.all, com.intellij.java-i18n, com.intellij.copyright, com.intellij, com.google.gct.testing, com.google.gct.login, com.google.gct, amailp.intellij.robot, TestNG-J, Subversion, JUnit, Git4Idea, Coverage, CVS]
    at com.intellij.util.graph.GraphGenerator.buildOuts(GraphGenerator.java:55)
    at com.intellij.util.graph.GraphGenerator.<init>(GraphGenerator.java:36)
    at com.intellij.util.graph.GraphGenerator.create(GraphGenerator.java:40)
    at com.intellij.ide.plugins.PluginManagerCore.createPluginIdGraph(PluginManagerCore.java:543)
    at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.java:1126)
    at com.intellij.ide.plugins.PluginManagerCore.initPlugins(PluginManagerCore.java:1256)
    at com.intellij.openapi.application.impl.ApplicationImpl.loadApplicationComponents(ApplicationImpl.java:348)
    at com.intellij.openapi.application.impl.ApplicationImpl.<init>(ApplicationImpl.java:215)
    at com.intellij.openapi.application.ex.ApplicationManagerEx.createApplication(ApplicationManagerEx.java:45)
    at com.intellij.idea.IdeaApplication.<init>(IdeaApplication.java:112)
    at com.intellij.idea.MainImpl$1$1.run(MainImpl.java:47)
    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 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)

2 个答案:

答案 0 :(得分:16)

简答:

Linux(也很可能是Windows):

libboost_system-vc100-mt-1_55.lib

OS X:

echo Pythonid >> ~/.<JetBrainsProduct>/config/disabled_plugins.txt

答案很长:

我遇到了IntelliJ 15的一个熟悉的问题。虽然不一样,Android Studio基于IntelliJ,修复应该类似:

  • 找到应用程序&#39;配置文件夹(对于echo Pythonid >> ~/Library/Preferences/<JetBrainsProduct>/config/disabled_plugins.txt的IntelliJ15,Android Studio类似于~/.IntelliJIdea15/config(在Linux和Windows上,在OS X上查看~/.AndroidStudio/
  • 打开文件~/Library/Preferences/<JetBrainsProduct>/并附加一行disabled_plugins.txt
  • 再次启动IDE

这个问题的正式答案可以在这里找到:https://youtrack.jetbrains.com/issue/IDEA-147244(他们确实提供了不同的解决方案)

答案 1 :(得分:0)

这是一个解决方法。按照以下步骤删除Android Studio安装:

Delete the android-studio folder;
Delete the sdk folder if it is in not inside the android-studio directory;

rm -rf ~/.AndroidStudio, which contains config and system;
rm -rf ~/.android;
rm -rf ~/.local/share/applications/jetbrains-android-studio.desktop, if you created a shortcut using Configure->Create Desktop Entry.

有时,图标启动器也可以位于以下位置之一:

/usr/share/applications
/usr/local/share/applications
If your launcher file is in any of the first two directories, you will require root permissions to remove it.