Thursday, April 11, 2013

[android help] android app with facebook login integrated, how to generate the release key?


I have read almost all the forums related to hask key generation on windows. This is wat i did afterwards and found out the correct hash key. Stay with me and i will take you to yours.


-- Where ever you see the path, always make sure that you put yours and not exactly mine.


-- First thing is to download ssl from: http://code.google.com/p/openssl-for-windows/downloads/list


--Make a openssl folder in C drive


--Extract Zip files into openssl folder


--a better practice is to copy your jdk1.6.0_31 folder from the c drive and paste it on the desktop.


--navigate to your location of jdk/bin folder.


--now run the following command in the cmd and enter the details. (Do not exactly copy the code as my files location can be different from yours.)


C:\Users\Arsalan\Desktop\JDK_JRE\jdk1.6.0_31\bin>keytool -genkey -v -keystore highwayrun.keystore -alias androiddebugkey -keyalg RSA -validity 999999


--It will ask some questions and in the end will generate a keystore.


--after entering all these details your own app keystore will be generated in the jdk/bin folder that resides on your desktop


--finally use the command shown below, put the password and generate the hash key!


C:\Users\Arsalan\Desktop\JDK_JRE\jdk1.6.0_31\bin>keytool -exportcert -alias androiddebugkey-keystore C:\Users\Arsalan\Desktop\JDK_JRE\jdk1.6.0_31\bin\highwayrun.keystore | C:\OpenSSl\bin\openssl sha1 -binary | C:\OpenSSl\bin\openssl base64


Enter keystore password: android


[HASH KEy=]


If it does not ask for password then something went wrong and the hash key is incorrect!



.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...