"Unable to get system library for project" after I upgraded to Android SDK 2.3 and ADT 8.0
For me, the problem was that in the Project settings - Android tab, I had no Android version selected.
That is rather difficult to answer, given the limited information you have supplied. Here are some suggestions:
Make sure that an appropriate
android.jar
is in your build path, since that is wherejava.lang.Object
would come from.Do a Project > Clean, to make sure you have 1.6
.class
files, in case that is part of the problem.Try creating a new project from scratch and see if that works.
I had this problem even though I had a valid target selected. I fixed it by changing to a different target, applying changes and then changing back. That seems to have sorted it.