How to fix error Unsupported major.minor version 52.0 when syncing Gradle Script Android Studio

Hi folks,

Recently when trying to run an Android project in Android studio, I noticed the following error on opening it:

Unsupported major.minor version 52.0

After doing some Google search I found that the problem was due to the code requiring Java 8 while my IDE used Java 7. So, to fix it one has to

– Go to File > Other Settings > Default Project Structure…

– If your JDK location is set to a Java 1.7 location, change it to the corresponding Java 1.8 location. In my case the required path was

/Library/Java/JavaVirtualMahines/jdk1.8.0_66.jdk/Contents/Home

– Click OK

That’s it. Now the error should go away.

Some Cool MS Excel Features: Filtering and Easy Average Calculation

Hi,

Today I will go over two cool features I like in Ms Excel. Filtering and easy Average calculation.

Filtering is very useful if you end to extract subsets of data. To access filters in Excel, first create a table from a range of data.

To do this, highlight the entire table, then click Insert > Table. Then click OK to confirm the cell range to use for creating the table.

With a table you can apply filters easily.

To calculate average easily for a column of values simply highlight the column and the average, count and sum appears on the bottom status bar.

That’s all for now. Till next time.