Reputation: 2882
I am trying to load a map .The map elements like zoom,location etc are loaded however the map isn't displayed
I have added the api key and other stuffs needed for the map.
I get the logcat as :The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
Below is my manifest Xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.blah.blahh"
android:versionCode="1"
android:versionName="1.0" >
<permission android:name="com.xxx.xxx.permission.MAPS_RECEIVE"
android:protectionLevel="signature"></permission>
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
.
.
.
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"
/>
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaXXXxXXXXXXXXXX7mSf-THX" />
</application>
</manifest>
Any thoughts regarding this are welcome
Upvotes: 2
Views: 58
Reputation: 4382
The package name provided to get API key may be changed. Make sure that package name used correct
Upvotes: 0
Reputation: 12530
include this in manifest
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
Please make sure you have added google play store library project with your project.
Also make sure you have added the map api key corresponding to your app signature
Upvotes: 3