Android Studio不再启动:致命错误初始化' [...]。FrameworkDetectionIndex'

时间:2015-07-20 09:22:46

标签: exception android-studio startup

Android Studio不再启动了。上周五一切都很好。我试图重新安装AS并重新启动。我正在使用Mac OS X Yosemite。以下是错误消息:

  

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

     

了java.lang.RuntimeException:   com.intellij.ide.plugins.PluginManager $ StartupAbortedException:致命   错误初始化   ' com.intellij.framework.detection.impl.FrameworkDetectionIndex'       在com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178)       在com.intellij.idea.MainImpl $ 1 $ 1 $ 1.run(MainImpl.java:52)       在java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)       at java.awt.EventQueue.access $ 400(EventQueue.java:82)       at java.awt.EventQueue $ 2.run(EventQueue.java:676)       at java.awt.EventQueue $ 2.run(EventQueue.java:674)       at java.security.AccessController.doPrivileged(Native Method)       at java.security.AccessControlContext $ 1.doIntersectionPrivilege(AccessControlContext.java:86)       at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)       在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)       at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)引起:   com.intellij.ide.plugins.PluginManager $ StartupAbortedException:致命   错误初始化   ' com.intellij.framework.detection.impl.FrameworkDetectionIndex'       在com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:248)       at com.intellij.util.indexing.FileBasedIndexImpl.initExtensions(FileBasedIndexImpl.java:289)       at com.intellij.util.indexing.FileBasedIndexImpl.initComponent(FileBasedIndexImpl.java:358)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter $ 1.getComponentInstance(ComponentManagerImpl.java:568)       at com.intellij.openapi.components.impl.ComponentManagerImpl $ ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:610)       在com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:245)       在com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:211)       在com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:125)       在com.intellij.openapi.application.impl.ApplicationImpl.createComponent(ApplicationImpl.java:359)       在com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:116)       在com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:87)       在com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:101)       在com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:504)       在com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:486)       在com.intellij.idea.IdeaApplication.run(IdeaApplication.java:170)       ... 16更多引起:java.lang.VerifyError:class net.sf.cglib.core.DebuggingClassWriter覆盖final方法   访问。(IILjava /郎/字符串; Ljava /郎/字符串; Ljava /郎/字符串; [Ljava /郎/字符串;)V       at java.lang.ClassLoader.defineClass1(Native Method)       at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)       at java.lang.ClassLoader.defineClass(ClassLoader.java:621)       在java.lang.ClassLoader.defineClass(ClassLoader.java:471)       在com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:259)       在com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:255)       在com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:216)       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)       at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)       at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)       at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)       at com.intellij.util.InstanceofCheckerGenerator $ InstanceofClassGenerator.createClass(InstanceofCheckerGenerator.java:87)       在com.intellij.util.InstanceofCheckerGenerator $ 1.create(InstanceofCheckerGenerator.java:59)       在com.intellij.util.InstanceofCheckerGenerator $ 1.create(InstanceofCheckerGenerator.java:47)       在com.intellij.util.containers.FactoryMap.get(FactoryMap.java:56)       在com.intellij.util.InstanceofCheckerGenerator.getInstanceofChecker(InstanceofCheckerGenerator.java:65)       在com.intellij.patterns.ObjectPattern。(ObjectPattern.java:43)       在com.intellij.framework.detection.FileContentPattern。(FileContentPattern.java:35)       在com.intellij.framework.detection.FileContentPattern.fileContent(FileContentPattern.java:39)       在org.jetbrains.android.facet.AndroidFrameworkDetector.createSuitableFilePattern(AndroidFrameworkDetector.java:171)       在com.intellij.framework.detection.impl.FrameworkDetectionIndex.getIndexer(FrameworkDetectionIndex.java:66)       at com.intellij.util.indexing.FileBasedIndexImpl.createIndex(FileBasedIndexImpl.java:540)       在com.intellij.util.indexing.FileBasedIndexImpl.initIndexStorage(FileBasedIndexImpl.java:422)       at com.intellij.util.indexing.FileBasedIndexImpl.registerIndexer(FileBasedIndexImpl.java:395)       在com.intellij.util.indexing.FileBasedIndexImpl.initExtensions(FileBasedIndexImpl.java:283)       ... 29更多

有人可以帮忙吗?

1 个答案:

答案 0 :(得分:1)

我删除了/ Library / Java / Extensions /中的所有.jar文件(如此处所述:https://youtrack.jetbrains.com/issue/RUBY-16526)并且它有效。