问题
I just imported an example of the google map api V2 for android to test. It's missing the google-play-services_lib.jar
. I can't find this library. Where do I get it?
回答1:
First check that your sdk contains Google Play Services installed or not.
For that you do the below steps
In Eclipse--->Window--->Android SDK MAnager--->Check Google Play Services installed in extras.
Then you add the google plays services jar by find that one at the below location
your-android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\libs
回答2:
If you do the above and it is still not working because it cant access the temp folder you can go to your SDK manager in your android sdk directory and run it as an administrator
回答3:
Right-click on your google-play-services_lib project -> Build Project
Right-click on your project using the google-play-services_lib -> Build Project
来源:https://stackoverflow.com/questions/14137413/google-maps-api-v2-google-play-services-lib-jar-missing