kirktoon1882
kirktoon1882

Reputation: 1231

Android showing "Unable to get system library for project"

I was working on an android tutorial and it wanted me to import the library from another project. All well and good. The import worked and the project works correctly. But I noticed that doing that messed up several of my other projects (the ones that use Android 2.2) by apparently messing with the build path. Now instead of seeing "Google APIs [Android 2.2]" under the gen folder I see "Unable to get system library for project". When I right-click the project and go to Properties I see that the correct Project Build Target is checked(Google APIs [Android 2.2]), but "Unable to get system library for project" is still shown above the assets folder and below gen and Android Dependencies. Cleaning all projects doesn't help. How can I fix this problem, and is there a way to fix this issue globally or do I have to do it one by one?

Upvotes: 3

Views: 5379

Answers (4)

masarapmabuhay
masarapmabuhay

Reputation: 524

For me, what worked was to restart Eclipse. Hope this helps.

Upvotes: 0

brockoli
brockoli

Reputation: 4566

For me I had SDK version 8 selcted, but if I selected the next highest version, applied, then selected version 8 again and apply, fixed the problem.

Upvotes: 0

Sai Aditya
Sai Aditya

Reputation: 2393

For me, the problem was that in the Project settings - Android tab, I had no Android version selected.

Upvotes: 0

madabrowski
madabrowski

Reputation: 1561

In the project root folder you should have file named project.properties

---- file content -----

target=android-16 ## <--- make sure that it is there and that you have proper sdk installed

Upvotes: 1

Related Questions