Install Statistics plugin for AndroidStudio: crash and troubleshooting

04 May

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

To troubleshoot this problem, follow below procedures:

Select Android Studio in Applications:


Right click Android Studio > Show Package Contents


Open the Info.plist


Change the JVMVersion from 1.6* or whatever –> 1.8


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


Leave a comment

Posted by on May 4, 2016 in Android


Tags: , , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: