使用Google Map API v2进行地图开发时需要添加google-play-services_lib,在安装Android SDK后google-play-services_lib默认在ADT中的SDK目录中,此时的google-play-services_lib没有生成project,无法添加,需要生成project,整体添加步骤如下:
1.File->Import->Android->Existing Android Code Into Workspace->Browse->Android SDK->extras->google->google_play_services->libproject->google-play-services_lib,勾选 Copy projects into workspace;
2.项目右键Properties->Android添加google-play-services_lib;