title: API Key google maps on my computer Android
body: <p>i got a problem, </p>
  
  <p>when i start my android aplication, I got this error :</p>
  
  <p>E/b: Authentication failed on the server.</p>
  
  <p>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>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>)
                                                                                       Ensure that the "Google Maps Android API v2" is enabled.
                                                                                       Ensure that the following Android Key exists:
                                                                                          API Key: The key that i set
                                                                                          Android Application (;): 1D:11:27:1A:67:1B:E0:FF:15:12:42:4F:62:76:D0:6E:48;com.example.antoine.flagcamp</p>
  
  <p>I've already set the key in google_maps_api.xml like that :</p>
  
  <pre><code>&lt;string name="google_maps_key" templateMergeStrategy="preserve" translatable="false"&gt;My Key&lt;/string&gt;
  </code></pre>
  
  <p>in the manifest :</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
  &lt;meta-data
              android:name="com.google.android.geo.API_KEY"
              android:value="@string/google_maps_key" /&gt;
  </code></pre>
  
  <p>code on my MapsActivity :</p>
  
  <pre><code>public class MapsActivity extends FragmentActivity implements OnMapReadyCallback {
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_maps);
          SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
                  .findFragmentById(R.id.map);
          mapFragment.getMapAsync(this);
      }
  
      @Override
      public void onMapReady(GoogleMap map) {
          // Add a marker in Sydney, Australia, and move the camera.
          LatLng sydney = new LatLng(-34, 151);
          map.addMarker(new MarkerOptions().position(sydney).title("Marker in Sydney"));
          map.moveCamera(CameraUpdateFactory.newLatLng(sydney));
      }
  }
  </code></pre>
  
  <p>I really don't understand, this code don't work on my computer but work with other computer</p>
  
  <p>thank you for your help</p>