Android Map v2 Program Crashes at start

前端 未结 3 777
难免孤独
难免孤独 2021-01-24 23:58

I\'ve searched for a week and tested all the solutions said, but nonestrong text worked! I\'ve tried every thing said in:

Google Maps Android API v2 - Getting Started

3条回答
  •  一生所求
    2021-01-25 00:24

    Add this permission to AndroidManifest.xml

    The log-cat was clear to you, it identified the problem as:

    Caused by: java.lang.SecurityException: The Maps API requires the additional following permissions to be set in the AndroidManifest.xml to ensure a correct behavior: 
    

提交回复
热议问题