Get the KeyHash of an Android project.
Put this code in the mainactivity and repace "com.test.package" for your app package defined at manifest.xml