Fix CodeIris plugin in Android Studio

  • laur 

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:

…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.


A little experiment: If you find this post and ad below useful, please check the ad out :-)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.