Android Facebook SDK Hash Key on Windows 7 64 bits -


the problem:

i can´t functional hash key. works fine without fb app installed on emulator @jesse chen says in famous answer subject not working properly.

i've tried:

  • use openssl-0.9.8k_x64, openssl-0.9.8e_x6 , openssl-0.9.8e_win32.
  • use openssl envoronment variable (http://www.youtube.com/watch?v=lrduyk1wdla)
  • use openssl it's respecting path.

  • use debug.keystore it's respecting path , without it.

  • delete debug.keystore , regenerated debugging fb samples.
  • i 've tried way says on fb tutorial:

    @override public void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate);  // add code print out key hash try {     packageinfo info = getpackagemanager().getpackageinfo(         "com.facebook.samples.hellofacebook",          packagemanager.get_signatures);     (signature signature : info.signatures) {         messagedigest md = messagedigest.getinstance("sha");         md.update(signature.tobytearray());         log.d("keyhash:", base64.encodetostring(md.digest(), base64.default));      } } catch (namenotfoundexception e) {  } catch (nosuchalgorithmexception e) {  } 

and i've got same hash key using cmd.

  • i've installed cygwing , tried use it's terminal hash couldn't make require password.. (so it's not working)

     eyyo@eyyo-pc /home  $ wgetexe="/cygdrive/c/program files/java/jre7/bin"   eyyo@eyyo-pc /home  $ "$wgetexe"/keytool -exportcert -alias androiddebugkey -keystore  /cygdrive/c/users/eyyo/.android/debug.keystore | openssl sha1 -binary | openssl base64 

finally share short video of how emulator not work. (not fun)

if have question please ask me.

after reading hundreds of sites , questions regarding ussue seems me fb not offering solution problem. because of i´ve decided i´ll not include sdk of company on android app.

regards


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -