What is difference between 'debug.keystore' and 'release.keystore' in Android?

android, android-maps-v2

Solution

debug.keystore is merely for developing and testing purposes, so using that you can't release your app to Google Play using that only.

Caution: You should not release your application to the public (via any source) when signed with the debug certificate.

release.keystore is required only when you want to release your app to any app store. For more information, see Signing Your Applications, subsection Signing in Release Mode.

Problem

Recently, I was working with Android Maps V2. I came across `debug.keystore` and `release.keystore`. What is the difference between them? Why do we have to use both?

Original source