I was working on an android tutorial and it wanted me to import the library from another
Borrowing from @Erhannis answer :
"
Right click on your project
Go to properties
Click the Android section
"
When I view the build target everything looked fine :
So I checked another build target , hit apply, and then re checked my original build target (Android 4.4.2) and re-hit apply. My project then compiled.
Right Click on Project-> Select Android tools -> Select Fix Project Properties
This did the trick for me.
I had the same problem. Try
Worked for me, anyway.
Derived the solution from: "Unable to get system library for project" after I upgraded to Android SDK 2.3 and ADT 8.0
This happens when you are targetting an API version that for some reason is not mapped on your buildpath.
Error in .classpath on your project. It not connect to android sdk. Fix it and clean project. :-)
For me the project.properties file was missing (it was code from a repo I checked out). So I just created one with this line:
target=android-20
After that, Erhannis' solution worked for me.