有谁知道以下问题的解决方法是什么?
除了以前我找不到任何有用的东西: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)
解决方法
简短回答:
Linux(也很可能是Windows):
echo Pythonid>> 〜/.\u0026 LT; JetBrainsProduct> /config/disabled_plugins.txt
OS X:
echo Pythonid>> 〜/库/首/< JetBrainsProduct> /config/disabled_plugins.txt
答案很长:
我遇到了IntelliJ 15的一个熟悉的问题.虽然不一样,Android Studio基于IntelliJ,修复应该类似:
>找到应用程序的配置文件夹(对于〜/ .IntelliJIdea15 / config的IntelliJ15,Android Studio就像〜/ .AndroidStudio /(在Linux和Windows上,在OS X上查看〜/ Library / Preferences /< JetBrainsProduct> /)
>打开文件disabled_plugins.txt并添加像Pythonid一样的行
>再次启动IDE
这个问题的正式答案可以在这里找到:https://youtrack.jetbrains.com/issue/IDEA-147244(他们确实提供了不同的解决方案)