How to implement Google Maps new version of API v2

前端 未结 6 1664
滥情空心
滥情空心 2021-02-08 13:40

Hi every one I came to know that google maps has deprecated its previous version API v1 and introduced a new version of google maps API v2. I tried out one example by followin

6条回答
  •  抹茶落季
    2021-02-08 14:11

    Be sure to name your main activity as you declare it in manifest:

    Caused by: java.lang.ClassNotFoundException: com.example.apv.MyMapActivity
    

    Maybe a package naming issue? Post your entire MyMapActivity, not only the onCreate.

提交回复
热议问题