Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Saturday, 31 December 2011

Eclipse Error(Android platform) : Unable to get system library for project

Eclipse Error (Android platform): Unable to get system library for project
Eclipse Error 2 (Android platform): The type java.lang.object can not be resolved. It is indirectly referenced from required .class files.

Cause : If you import the old project OR If you have configured the project for some target which is no longer present on the system(It might got removed by the newer updates) then you may get these errors.


Fix (Android platform): Right click on project. Go to properties. Click on Android. In Project Build Target select a valid target for the project and click OK.