title: The meta-data tag in your app's AndroidManifest.xml does not have the right value. - Google Maps
body: <p>I'm trying to implement google-play-services library and it seems to me I'm doing everything right.</p>
  
  <p>Here's my stacktrace:</p>
  
  <pre><code>06-14 13:17:51.804: E/AndroidRuntime(22809): java.lang.IllegalStateException: The meta-data tag in your app's AndroidManifest.xml does not have the right value.  Expected 8298000 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;
  06-14 13:17:51.804: E/AndroidRuntime(22809):    at com.google.android.gms.common.GooglePlayServicesUtil.zzak(Unknown Source)
  06-14 13:17:51.804: E/AndroidRuntime(22809):    at com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown Source)
  06-14 13:17:51.804: E/AndroidRuntime(22809):    at com.google.android.gms.maps.internal.zzy.zzaQ(Unknown Source)
  </code></pre>
  
  <p>Here's my Manifest :</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      android:versionCode="1"
      android:versionName="1alpha"
      package="ru.vezdeok.driverapp"&gt;
  
     &lt;uses-sdk
          android:minSdkVersion="11"
          android:targetSdkVersion="23" /&gt;
  
      &lt;uses-permission android:name="android.permission.NFC" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
      &lt;uses-permission android:name="android.permission.RECORD_AUDIO"/&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&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="com.google.android.providers.gsf.permission.READ_GSERVICES"/&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt;
  
  
          &lt;uses-feature
          android:glEsVersion="0x00020000"
          android:required="true"/&gt;
  
      &lt;application
          android:name=".app.App"
          android:allowBackup="true"
          android:icon="@mipmap/icon"
          android:theme="@style/AppTheme"
          android:label="@string/app_name"&gt;
  ... A bunch of Activity declarations
      &lt;meta-data
           android:name="com.google.android.maps.v2.API_KEY"
           android:value="@string/google_api_key"&gt;
           &lt;meta-data
              android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
          &lt;/meta-data&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>now, google-play-services_lib is attached and <code>integer/google_play_services_version</code> reads fine and it is 8298000 as it needed. But even if I hardcode  android:value="8298000" I still got an error</p>
  
  <p>I also tried to remove <code>&lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/&gt;</code> as I read on stackoverflow that it's not necessary but that didn't help me also.</p>
  
  <p>So.. what's wrong? It seems that I declared meta-data exactly how I should</p>