Reputation: 1237
I do a Android training and I have to use Eclipse. I created a new project and I get the error
android.support cannot resolved.
I look for the android-support-*.jar.
This is my SDK manager
I don't have Android Support Library package in my SDK Manager. How can I install the package "Android Support Library" ?
Upvotes: 3
Views: 2762
Reputation: 645
If you are using linux. Try doing this in the terminal, it worked for me at some point in time. Don't know if it still works:
:~$ android list sdk -a --extended|less
This will list all the packages plus the extra-androidm2-repository
because of the --extended option. After this you can the type:
android update sdk --no-ui -a --filter "extra-android-m2repository"
This will proceed to download the extra support repository, and place it in the $ANDROID_HOME/extras/android/m2repository/.If that does not work try downloading the zip file here. This is still not the end of it because you still have to find a way to use it and
This is why you should move to Android studio
Upvotes: 0
Reputation: 23404
You have already downloaded Android support Repository .
To add support library to project, go to android sdk location sdk\extras\android\support
, you can find all support libraries there .Add what ever library you need as a dependency
i guess you have to add V7 appCompact
Upvotes: 1