I can’t get to the console log of my device because I’m not testing this application on device. I’m testing it using Bluestacks app player that has the same behaviour as mobile device.
Thank you for sharing this blog post with me. For the last 2 hours I’ve been trying to get correct Key Hash and to make my app work. Unfortunately, again without success, even I created own keystore and alias and build my app using that keystore and keyalias.
You can see my cmd inputs here:
d:\Program Files (x86)\Corona Labs\Corona SDK\Resources\>"d:\program files (x86)\ java\jre6\bin\keytool.exe" -genkey -v -keystore eakeystore.keystore -alias alias name -keyalg RSA -validity 999999 Enter keystore password: Re-enter new password: What is your first and last name? [Unknown]: xxxxx xxxxx What is the name of your organizational unit? [Unknown]: xxxxx What is the name of your organization? [Unknown]: xxxxx What is the name of your City or Locality? [Unknown]: xxxxx What is the name of your State or Province? [Unknown]: xxxxx What is the two-letter country code for this unit? [Unknown]: XX Is CN=xxxxx xxxxx, OU=xxxxx, O=xxxxx, L=xxxxx, ST=xxxxx, C=XX cor rect? [no]: yes Generating 1.024 bit RSA key pair and self-signed certificate (SHA1withRSA) with a validity of 999.999 days for: CN=xxxxx xxxxx, OU=xxxxx, O=xxxxx, L=xxxxx, ST=xxxxx , C=XX Enter key password for \<aliasname\> (RETURN if same as keystore password): [Storing eakeystore.keystore] d:\Program Files (x86)\Corona Labs\Corona SDK\Resources\>"d:\program files (x86)\ java\jre6\bin\keytool.exe" -exportcert -alias aliasname -keystore eakeysto re.keystore | openssl.exe sha1 -binary | openssl.exe base64 Enter keystore password: android 1Jbl2NBIVgCY
You can see that I got keyhash but for some reason I still cannot login to my facebook account. I really don’t know what’s wrong and why I keep failing.
Thanks for your help and quick replies.