第一次使用google maps v2 运行时遇到下面的异常:
java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable
这个问题是因为 v2 版地图需要 google-play-services ,而我为了省事,将google-play-services.jar 复制到项目的lib目录下然后引入到了项目中,正确的应该是将extras\google\google_play_services\libproject\google-play-services_lib 项目导入eclipes,然后在自己的项目中进行引用,如下:
其他问题请参考:http://blog.youkuaiyun.com/leisurelife1990/article/details/8508814