Warning: Trying to access array offset on value of type null in /home/100661.cloudwaysapps.com/wwmucwgvgw/public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 72

Warning: Trying to access array offset on value of type null in /home/100661.cloudwaysapps.com/wwmucwgvgw/public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 72
Fixed: Android requires compiler compliance level 5.0. Please fix project properties. - Android Code Ninja
Warning: Undefined variable $image in /home/100661.cloudwaysapps.com/wwmucwgvgw/public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 401

Warning: Trying to access array offset on value of type null in /home/100661.cloudwaysapps.com/wwmucwgvgw/public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 401

Warning: Undefined array key 0 in /home/100661.cloudwaysapps.com/wwmucwgvgw/public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 424

Warning: Undefined variable $url in /home/100661.cloudwaysapps.com/wwmucwgvgw/public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 365

Fixed: Android requires compiler compliance level 5.0. Please fix project properties.


When I tried to import an existing eclipse android project to my new workspace, I encountered an error:

Android requires compiler compliance level 5.0. Please fix project properties.

So here’s what I did to fix this problem:

Right Click Project > Properties > Java Build Path > Order and Export Tab > Check Your Android SDK Version on the list (I got Android 2.2)

Fixed: Android requires compiler compliance level 5.0. Please fix project properties.

Then…

Right Click Project > Properties > Java Compiler > Check Enable Project Specific Settings > Select Compiler Compliance Level
In my case, I had to changed the compiler compliance level from 1.6 to 1.5

jcompiler

And that solves my problem. :)

,

Leave a Reply

Your email address will not be published.