title: Google Play Services v13 error meta-data in AndroidManifest
body: <p>My app is using Google Play Services for location. Also it is using Google Maps. Until today it worked fine but after Eclipse updating and also Google Play Services v13 installation, it is not working any more. Today I have performed several updates.
  - Android SDK Tools updated to 22.3
  - Android SDK Platform Tools updated to 19
  - Android SDK Build-tools updated to 19
  - Google Play Services updated to 13
  Also I have updated ADT</p>
  
  <p>When I start the Application I am getting this error message:</p>
  
  <pre><code>java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value.
  Expected 4030500 but found 0.  You must have the following declaration within the &lt;application&gt; element: &lt;meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /&gt;
  </code></pre>
  
  <p>I have worked several times with Google Play Services and also this app has worked fine until now. I did not include any meta-data in the manifest ever.</p>
  
  <p>I have tried to fix the problem including the meta-data tag in my app manifest but it is not working. Currently my app manifest looks like this (this is the same one that the manifest included in my app when it worked).</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.myapp.app"
  android:versionCode="2"
  android:versionName="1.0.1" &gt;
  
  &lt;uses-feature
  android:glEsVersion="0x00020000"
  android:required="true" /&gt;
  
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
  &lt;permission
  android:name="com.myapp.app.permission.MAPS_RECEIVE"
  android:protectionLevel="signature" /&gt;
  
  &lt;uses-permission android:name="com.myapp.app.permission.MAPS_RECEIVE" /&gt;
  
  &lt;supports-screens android:requiresSmallestWidthDp="320" /&gt;
  &lt;supports-screens android:compatibleWidthLimitDp="394" /&gt;
  
  
  &lt;uses-sdk
  android:minSdkVersion="16"
  android:targetSdkVersion="18" /&gt;
  
  &lt;application
  android:allowBackup="true"
  android:icon="@drawable/ic_launcher"
  android:label="@string/app_name"
  android:theme="@style/CustomizedTheme" &gt;
  
  &lt;meta-data
  android:name="com.google.android.maps.v2.API_KEY"
  android:value="thecode" /&gt;
  
  &lt;activity
  android:name="com.myapp.app.ActivityMain"
  android:label="@string/app_name" &gt;
  &lt;intent-filter&gt;
  &lt;action android:name="android.intent.action.MAIN" /&gt;
  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
  &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I am wondering if this issue is due to the google-play-services manifest?</p>
  
  <p>This is the manifest I have found:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.google.android.gms"
  android:versionCode="4030530"
  android:versionName="4.0.30 (889083-30)" &gt;
  
  &lt;uses-sdk android:minSdkVersion="8"/&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>To use the Google Play Services I have followed the instructions given by Google, as in the past and until now I have not found any problem.</p>