title: Couldn't activate Google Maps API v2 in release version
body: <p>I can't activated my Google Maps v2 Android API in my release version :(</p>
  
  <p>My debug version working correctly. I published my app <strong>(Android APP BUNDLE)</strong> in closed test channel and I get following error in logcat:</p>
  
  <blockquote>
    <p>2018-10-24 13:21:50.255 6704-6769/? E/Google Maps Android API: Authorization failure.  Please see <a href="https://developers.google.com/maps/documentation/android-api/start" rel="nofollow noreferrer">https://developers.google.com/maps/documentation/android-api/start</a> for how to correctly set up the map.</p>
    
    <p>2018-10-24 13:21:50.257 6704-6769/? E/Google Maps Android API: In the Google Developer Console (<a href="https://console.developers.google.com" rel="nofollow noreferrer">https://console.developers.google.com</a>)</p>
    
    <p>Ensure that the "Google Maps Android API v2" is enabled.</p>
    
    <p>Ensure that the following Android Key exists:</p>
    
    <p>API Key: YOUR_KEY_HERE</p>
    
    <p>Android Application (cert_fingerprint>;package_name>): 74:4E:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:05:2A;com.soft.test</p>
  </blockquote>
  
  <p>And this is my ".../main/res/values/google_maps_api.xml":</p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;string name="google_maps_key" templateMergeStrategy="preserve" translatable="false"&gt;AIzaXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXM1mI&lt;/string&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>I have following fingerprints in my API Console:</p>
  
  <p><a href="https://i.stack.imgur.com/Y2vts.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y2vts.png" alt="Google API Console"></a></p>
  
  <p>My build.gradle (Module:app):</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 27
      defaultConfig {
          applicationId "com.soft.test"
          minSdkVersion 16
          targetSdkVersion 27
          versionCode 1
          versionName "@string/version"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
          debug {
              testCoverageEnabled true
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation 'com.android.support:appcompat-v7:27.1.1'
      implementation 'com.google.android.gms:play-services-maps:16.0.0'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  
  
      implementation 'com.google.android.gms:play-services-location:16.0.0'
      implementation 'com.android.support:design:27.1.1'
  }
  </code></pre>
  
  <p>I am working on this problem for days. Searching web, reading stackoverflow answers, uploading test versions to google play but can't find any solution :(</p>
  
  <p>I have three main questions:</p>
  
  <ol>
  <li><p>I have API KEY in my google_maps_api.xml but logcat error still says "API Key: YOUR_KEY_HERE" which looks like app cannot see API_KEY. Why? ( I think this can be main solution of my problem)</p></li>
  <li><p>In logcat error and "keytool -list -v -keystore mystore.keystore" command output, I got two different fingerprints? How can this possible? (I'm sure I run command on true keystore)</p></li>
  <li><p>Main question: What is wrong with me, or with Google? How can I activate MAP API for release version?  </p></li>
  </ol>