title: PLACES_API_INVALID_APP error from Android Play Places
body: <p>I am trying Google Place Autocomplete Example from <a href="https://github.com/googlesamples/android-play-places">https://github.com/googlesamples/android-play-places</a>.</p>
  
  <p>I have put the correct API key at the correct place. I knew it because when I put a random string invalid API key I will get a different error.</p>
  
  <p>So after I put the correct API key, I run the app in both real device and simulator. Both devices gave me this error:</p>
  
  <p>Status{statusCode=PLACES_API_INVALID_APP, resolution=null}</p>
  
  <p>What causes this error and how to fix it?</p>