StreetViewPanaroma cannot be resolved to a type

冷暖自知 提交于 2019-12-11 20:57:02

问题


I m referring the code official code of Google maps StreetViewPanorama. but I m getting this always. StreetViewPanorama cannot be resolved to a type.

How can I import this class.

I have added the Google Play service lib project. and also I have set my project target to Google APIs x86[Android4.4.2]

here is my project structure


回答1:


Have you got the latest version of the Google Play Services library downloaded? You'll need version 4.4 to access the new StreetView classes.

Andy.



来源:https://stackoverflow.com/questions/23881905/streetviewpanaroma-cannot-be-resolved-to-a-type

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!