Google Maps - "The application will not start if you do not update the Google Play services"

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

I run my application on my Nexus 4, and I get a message about updating the Google Play service with the "Update" button. When I click the Refresh button, it brings me to the Google Play Services application in the Play Store, but it seems to be updating to the latest version.

Is there anything else I can lose?

Android manifest file:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.ridenotifier" android:versionCode="1" android:versionName="1.0" > <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.SEND_SMS" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="16" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <uses-library android:name="com.google.android.maps" /> <activity android:name="com.example.ridenotifier.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.example.ridenotifier.ContactListActivity" android:label="@string/title_activity_contact_list" > </activity> <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyATNKboMr-94m9GUWOlLkEgApQW4uvh4Js" /> </application> </manifest> 

Screenshot:

** Screen shot

+4
android google-play-services google-maps-android-api-2
source share
1 answer

In accordance with the discussion with Android Developer on Google+, launching the new Map API on the emulator is currently not possible.

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"/> 
+1
source share

All Articles