Google Maps - “App won't run unless you update Google Play services”

后端 未结 1 1141
灰色年华
灰色年华 2021-01-13 11:10

I\'m just trying to run the simple Google Maps tutorial here: https://developers.google.com/maps/documentation/android/start

I\'m running my app on my Nexus 4, and I

相关标签:
1条回答
  • 2021-01-13 11:26

    According to discussion with Android Developer on Google+, running the new Map API on emulator is not possible at the moment.

    Add the following permissions..

    <permission
          android:name="yourpackageName.permission.MAPS_RECEIVE"
          android:protectionLevel="signature"/>
    <uses-permission android:name="yourpackageName.permission.MAPS_RECEIVE"/>
    
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    
    0 讨论(0)
提交回复
热议问题