TL;DR: For the combination of AS 1.2beta and CodeIris 1.13 beta, go to your .AndroidStudioPreview12/config/plugins/CodeIris-Idea/lib and remove your groovy-all jar file.

I wanted to get an UML representation of my classes and one plugin I found was CodeIris. Unfortunately, when I tired to install it, I could not get my project to reload. Bummer. Here are the steps I did to fix it:

  1. Close AS
  2. Go to .AndroidStudio/system/log and clean it up. Is nicer
  3. Open AS
  4. Open the log file in your .AndroidStudio/system/log directory
  5. Go towards the end and identify the cause of the error. It'll be a java exception
  6. Go towards the end of the exception, namely the last Caused by: statement
  7. Fix that :)

In my case, the last statements were:

$ run-my-android-app
Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.2.1 and you are trying to load version 2.3.9
  at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl$DefaultModuleListener.onModule(MetaClassRegistryImpl.java:509)
  at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensionModuleFromProperties(ExtensionModuleScanner.java:78)
  at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanExtensionModuleFromMetaInf(ExtensionModuleScanner.java:72)
  at org.codehaus.groovy.runtime.m12n.ExtensionModuleScanner.scanClasspathModules(ExtensionModuleScanner.java:54)
  at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:110)
  at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init>(MetaClassRegistryImpl.java:71)
  at groovy.lang.GroovySystem.<clinit>(GroovySystem.java:33)
  ... 117 more

...meaning that CodeIris wanted to load its own groovy library, which differed from the already loaded one.

The fixing process is then simple: remove the groovy library from CodeIris. To do that, go to the location where CodeIris plugin is installed (.AndroidStudioPreview12/config/plugins/CodeIris-Idea/lib in my case) in my case and just remove the groovy jar. then (re)launch AS.

HTH,