Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8817727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:55:15+00:00 2026-06-14T04:55:15+00:00

I used to sign my apps on PC with keytool, and get the hashcode

  • 0

I used to sign my apps on PC with keytool, and get the hashcode that is used in FB app.

Now, I’ve switched to Mac, and I have to sign my app again.

I’ve followed the procedure explained for mac cannot find keytool on a mac

I’ve managed to generate signed .APK, but I do not understand where to find Android Key Hash of my app on Mac?

Can anyone point me to right direction please.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:55:17+00:00Added an answer on June 14, 2026 at 4:55 am

    I am not a Mac user so won’t be able to give you a solution specifically for a Mac, but I can give you something better and simpler.

    I have posted a similar answer here: https://stackoverflow.com/a/13283088/450534. The second solution works regardless to the platform.

    Give this a try. This is the exact same from the answer linked above.

    I always found the simplest thing to do was, let the Facebook SDK tell you what your Hash Key is. This is by far more simpler and shouldn’t take more than a couple of minutes.

    Step 1:
    In your Facebook SDK, locate the Util.java class. In that, change this:

    private static boolean ENABLE_LOG = false;
    

    to:

    private static boolean ENABLE_LOG = true;
    

    Step 2:
    Create a new Signed APK, transfer to your device and install. If it is already installed, naturally, it will prompt.

    Step 3:
    With your DDMS (Logcat) running and your device connected to the computer, run the application and keep looking for a key mismatch warning. That warning has the actual Hash Key. Copy that key, go to your Facebook Developer page and add the new key to the list.

    You might also want to go through the comments from this answer of mine. https://stackoverflow.com/a/10516629/450534. In the third comment, the OP has posted the response in Logcat.

    EDIT: The official Facebook Getting Started – Step 4 pages provides this command for generating a Key Hash on a Mac:

    keytool -exportcert -alias androiddebugkey -keystore
    ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a view controller subclass, SignInViewController , used for sign in that might
Having used storyboards for a while now I have found them extremely useful however,
I have a Facebook app ID which I'm using on 6 iOS apps for
If I use X509Certificate.CreateFromSignedFile to get the certificate used to sign a file, can
I read at android site that The self-signed certificate used to sign your application
I am creating a sign up script, in the past i have used a
I have an iOS 5 App that consumes webservices from a Rails 3 server.
is the SAML protocol (Sing Sign ON) used soley for web apps and web
I used McCoy tool to Install my install.rdf file and sign my update.rdf file.
What does the >> sign mean in Java? I had never seen it used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.