RSS

Tag Archives: com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf

Install Statistics plugin for AndroidStudio: crash and troubleshooting


Statistic is a very powerful plugin for IntelliJ IDEA, which is very useful to show files sorted by their extension along with size, line count LOC etc.

However, if you install this into the latest version of Android Studio, you are most likely to get the below error message:

Plugin ‘Statistic’ failed to initialize and will be disabled. Please restart Android Studio. com.intellij.diagnostic.PluginException: com/jpower8/idea/plugin/statictic/StatisticApplicationComponent : Unsupported major.minor version 51.0 [Plugin: Statistic] at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:130).

To troubleshoot this problem, follow below procedures:

Select Android Studio in Applications:

image

Right click Android Studio > Show Package Contents

image

Open the Info.plist

image

Change the JVMVersion from 1.6* or whatever –> 1.8

image

Of course you have to install JDK 1.8! Restart Android Studio and enjoy!

image

Advertisements
 
Leave a comment

Posted by on May 4, 2016 in Android

 

Tags: , , , , , , , ,