java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.android.tools.idea.AndroidInitialConfigurator' at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:204) at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'com.android.tools.idea.AndroidInitialConfigurator' at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:256) at com.intellij.openapi.components.impl.PlatformComponentManagerImpl.handleInitComponentError(PlatformComponentManagerImpl.java:43) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:540) at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:123) at com.intellij.openapi.application.impl.ApplicationImpl.access$801(ApplicationImpl.java:92) at com.intellij.openapi.application.impl.ApplicationImpl$12.run(ApplicationImpl.java:500) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.application.impl.ApplicationImpl.createComponents(ApplicationImpl.java:516) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:107) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:458) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:450) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:197) ... 16 more Caused by: java.lang.NoSuchFieldError: FN_AAPT2 at com.android.sdklib.BuildToolInfo.<init>(BuildToolInfo.java:293) at com.android.sdklib.BuildToolInfo.fromStandardDirectoryLayout(BuildToolInfo.java:179) at com.android.sdklib.repository.AndroidSdkHandler.getLatestBuildTool(AndroidSdkHandler.java:712) at com.android.sdklib.repository.targets.PlatformTarget.<init>(PlatformTarget.java:144) at com.android.sdklib.repository.targets.AndroidTargetManager.getTargetMap(AndroidTargetManager.java:95) at com.android.sdklib.repository.targets.AndroidTargetManager.getTargets(AndroidTargetManager.java:81) at com.android.sdklib.repository.targets.AndroidTargetManager.getTargetFromHashString(AndroidTargetManager.java:155) at org.jetbrains.android.sdk.AndroidSdkData.findTargetByHashString(AndroidSdkData.java:212) at org.jetbrains.android.sdk.AndroidSdkAdditionalData.getBuildTarget(AndroidSdkAdditionalData.java:126) at org.jetbrains.android.sdk.AndroidPlatform.parse(AndroidPlatform.java:87) at org.jetbrains.android.sdk.AndroidSdkAdditionalData.getAndroidPlatform(AndroidSdkAdditionalData.java:137) at org.jetbrains.android.sdk.AndroidPlatform.getInstance(AndroidPlatform.java:65) at com.android.tools.idea.sdk.IdeSdks.getEligibleAndroidSdks(IdeSdks.java:494) at com.android.tools.idea.sdk.IdeSdks.getFirstAndroidSdk(IdeSdks.java:149) at com.android.tools.idea.sdk.IdeSdks.getAndroidSdkPath(IdeSdks.java:75) at com.android.tools.idea.startup.GradleSpecificInitializer.setupSdks(GradleSpecificInitializer.java:282) at com.android.tools.idea.startup.GradleSpecificInitializer.run(GradleSpecificInitializer.java:114) at com.android.tools.idea.AndroidInitialConfigurator.activateAndroidStudioInitializerExtensions(AndroidInitialConfigurator.java:198) at com.android.tools.idea.AndroidInitialConfigurator.<init>(AndroidInitialConfigurator.java:65) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:59) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter.getComponentInstance(ComponentManagerImpl.java:499) ... 29 more
No Bugmate found.