Think Twice About Updating to the Latest Android Studio Canary Build


I was recently updating Android Studio to the latest build when I hit this error:


After hitting the “Exit” button, I got this error:

java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'null'
    at com.intellij.idea.MainImpl$1$1$
    at java.awt.event.InvocationEvent.dispatch(
    at java.awt.EventQueue.dispatchEventImpl(
    at java.awt.EventQueue.access$200(
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue.dispatchEvent(
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(
    at com.intellij.ide.IdeEventQueue._dispatchEvent(
    at com.intellij.ide.IdeEventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForFilters(
    at java.awt.EventDispatchThread.pumpEventsForFilter(
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    at java.awt.EventDispatchThread.pumpEvents(
    at java.awt.EventDispatchThread.pumpEvents(
Caused by: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing 'null'
    at com.intellij.ide.plugins.PluginManager.handleComponentError(
    at com.intellij.openapi.application.impl.ApplicationImpl.handleInitComponentError(
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.loadClasses(
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.loadClasses(
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(
    at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(
    at com.intellij.openapi.components.impl.ComponentManagerImpl.init(
    at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(
    at com.intellij.openapi.application.impl.ApplicationImpl.load(
    ... 18 more
Caused by: java.lang.NoClassDefFoundError: io/netty/channel/EventLoopGroup
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.loadClasses(
    ... 25 more
Caused by: java.lang.ClassNotFoundException:
    at com.intellij.util.lang.UrlClassLoader.findClass(
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 28 more

After digging through the issue list, I saw another person had this problem and a project member suggested that he just download the build and install it manually.  This did not work for me as I had to do a complete uninstall/reinstall of Android Studio and download APIs, etc. again.

This immediately made me decide to switch my default settings to something more stable like the “Dev Channel”. 

By default Android Studio checks for new canary builds. In my humble opinion, it should not. I’d rather use a slightly outdated version of the IDE that is more stable, then one that is not.

What’s the difference?

  • Canary channel: Canary builds are the bleeding edge, released about weekly. While these builds do get tested, they are still subject to bugs, as we want people to see what's new as soon as possible. This is not recommended for production.
  • Dev channel: Dev builds are hand-picked older canary builds that survived the test of time. It should be updated roughly bi-weekly or monthly.
  • Beta channel: Not used yet. This will be used when we'll have beta-quality releases. Right now Android Studio is considered preview-quality.
  • Stable channel: Not used yet. That will be for version 1.0 and following stable milestones.

How to Switch?

Press “Ctrl-Alt-S” to go to settings or you can find it through the file menu.


Under IDE Settings - Select Updates and switch “Canary Channel” to “Dev Channel” as shown below.



My Android Studio is finally back up and running and hopefully this saves you some pain.

Posted by: Michael Crump
Last revised: 14 Mar, 2014 03:15 AM


No comments yet. Be the first!

No new comments are allowed on this post.

Hosting provided by http://www.DiscountASP.NET