title: Android KeyHash Valid when Debug, Invalid when I install the App from APK
body: <p>I got KeyHash using <a href="https://stackoverflow.com/a/6665263/4543067">this</a>.
  Of course, I copied this (KeyHash, package name and main activity class) to facebook settings <a href="https://developers.facebook.com/docs/android/getting-started#release-key-hash" rel="nofollow noreferrer">according this</a>.</p>
  
  <p>And when I debug my app it looks fine (I can login and logout how many times I want), but when I create APK and run the app I received common error "invalid key hash the key hash does not match any stored key hash..."</p>
  
  <p>What do I need to except getting right KeyHash and adding it into your Facebook App ID's Android settings?</p>