Generate SHA 1 Key In Flutter On Windows and macOS | Flutter 2.5 (Latest)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • Generate SHA 1 Key In Flutter On Windows and macOS | Flutter 2.5 (Latest)
    In this tutorial, we will be generating the SHA 1 and SHA 256 Key in both macOS and Windows OS for the latest Flutter 2.5 version. Many people face issues in generating the SHA 1 key in their macOS and Windows operating system, and so I thought of creating a complete tutorial that will help people from any kind of OS platform.
    We have followed both the steps of creating the signature, like:
    1. Using the terminal command.
    2. Using the Android Studio method.
    🔑 SHA-1 is required when you are linking your flutter application to firebase, and also this is required for google to create an OAuth client for our application.
    IMPORTANT COMMANDS:
    ❇️ WINDOWS:
    1. For creating the keystore file i.e., debug.keystore
    keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -keysize 2048 -validity 10000
    2. For viewing the SHA-1 key from the keystore file that we created
    keytool -list -v -keystore "C:\Users\Shivansh Singh["Replace with your uername"]\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
    ❇️ macOS
    1. For creating the keystore file
    keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
    2. For generating the SHA-1 key
    keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
    JAVA SE 8 : www.oracle.com/java/technolog...
    🤞 You will be learning :
    1. How to Install JAVA JDK on your macOS and Windows OS
    2. How to create keystore using Keytool command.
    3. Using Flutter Doctor to solve all the issues.
    4. Accepting the Android Licenses.
    Course Content 📚
    00:00 Introduction
    00:35 SHA-1 Key on Windows
    00:40 Windows: PreRequisite for Creating the key
    01:45 Windows: Terminal Method For SHA-1 Key
    04:40 Windows: Android Studio method for Creating Key
    05:36 SHA-1 Key on macOS
    ► ALSO LEARN TO INTEGRATE GOOGLE and FACEBOOK SIGN IN TO YOUR APPS:
    📗 Complete Google and Facebook Login In Flutter | Flutter & Firebase Authentication 2021 (Part 1)
    • Complete Google and Fa...
    📗 Facebook Login In Flutter | Flutter & Firebase Authentication For Beginners 2021 (Part 2)
    • Facebook Login In Flut...
    🔔 Get updated with my projects🔔
    Follow me on Github: github.com/backslashflutter
    #sha-1key #flutter #backslashflutter

    🔥 Subscribe for more:
    / backslashflutter
    If this helps make sure to share it with friends and colleagues who will benefit from this
    Have questions/queries? 💬 Comment below I will be happy to help
    ►For the 3D intro, I'm using Rotato: rotato.xyz
    🎵Credits :
    Music Used:
    JARICO - LANDSCAPE • Video
    softy x no one’s perfect - The Beauty Around Us ✨ [lofi hip hop/relaxing beats]
    Reddit Username : @backslashflutter
    🔗OTHER:
    PLAYLIST:
    1. FLUTTER AND FIREBASE
    LINK :bit.ly/35Uq7Ba​
    2. FLUTTER SPEEDCODE
    LINK: bit.ly/3sFDy1O
    OTHER VIDEO:
    Complete Flutter Installation & Setup Tutorial For App Development on MacOS (Latest)
    • Complete Flutter Insta...
    Learn API Integration in Flutter | Building A Dictionary App with OwlBot API | (Under 20 Minute)
    • Learn API Integration ...
    ChatBot App In Flutter | Python Backend With Flutter | Heroku Server (Full Explanation)
    • ChatBot App In Flutter...
    About Flutter:
    Flutter is an open-source UI software development kit created by Google. It is used to develop cross platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase. The first version of Flutter was known as codename "Sky" and ran on the Android operating system.
    THANKS FOR LOVE AND SUPPORT💪

ความคิดเห็น • 140

  • @backslashflutter
    @backslashflutter  2 ปีที่แล้ว +2

    SHA Key Command :
    developers.google.com/android/guides/client-auth
    LIKE, SHARE SUBSCRIBE❤

    • @ryu-vy9xz
      @ryu-vy9xz 4 หลายเดือนก่อน

      How did you make the animation of your channel backslaeh? !:)

  • @batyrashyrov9917
    @batyrashyrov9917 2 ปีที่แล้ว +4

    oh man, I have been looking solution about creating keystore for 3 days. I just got a sha1 key after creating keystore. Man You have one abonent forever. Huge hearth for You. Thanks a lot !!!!!!!!!!!!!!!!!!

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      Thank you so much for being the part of our family ☺️

  • @panavkotha9067
    @panavkotha9067 2 ปีที่แล้ว +1

    Thank you so much man. The video helped a lot. I looked through many videos, but this did the trick.

  • @hossain009
    @hossain009 2 ปีที่แล้ว +3

    i don't have word to thank you .
    after 48 hours of trying finally it works

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      I know mate! this sha issue is something which 99% people struggle with and so I wanted to create a complete tutorial for both windows and mac users

    • @BrxkenBxT
      @BrxkenBxT 10 หลายเดือนก่อน

      Same,stuck for like 10 hours 🥲🥲

  • @zhelsea6464
    @zhelsea6464 ปีที่แล้ว

    What a legend man. This video still works on 2023. Thank youu!

  • @localprose523
    @localprose523 2 ปีที่แล้ว +1

    I have dealing problems with a deprecable Gradle on Android Studio. Your terminal method saved me. Thank you.

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      Thank you so much for watching the video

  • @animemania1690
    @animemania1690 ปีที่แล้ว

    thank you so very much for this tutorial, really helped out a lot!!!!

  • @qaisersells
    @qaisersells ปีที่แล้ว

    Thanks bro, I've been trying to figure out the keystore since last year... thanks bro... you just earnt one more permanent subscriber. 😀

  • @mumum1
    @mumum1 10 หลายเดือนก่อน

    Thank you!! You fixed my long lasting bug!!!

  • @christyF444
    @christyF444 ปีที่แล้ว

    Thank you, very good explained!

  • @danielunadike3327
    @danielunadike3327 8 หลายเดือนก่อน

    Thank you so much for this video ❤❤❤

  • @edilsonroque6691
    @edilsonroque6691 3 หลายเดือนก่อน

    Thaaaank you so much my friend

  • @mohammedahmedansari7190
    @mohammedahmedansari7190 2 หลายเดือนก่อน

    Great video brother thanks

  • @utkarshpandey491
    @utkarshpandey491 2 ปีที่แล้ว +2

    Thank you very very much ! I finally able to find sha key

  • @taz1012
    @taz1012 2 ปีที่แล้ว

    Legend - thankyou very much!

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      Thank you soo much mate for watching the video !

  • @shuaibalghazali3405
    @shuaibalghazali3405 11 หลายเดือนก่อน

    Thank you very much for this, i got it on first try

  • @ayushmaansural4896
    @ayushmaansural4896 10 หลายเดือนก่อน

    Thanks man !

  • @aliirfan2518
    @aliirfan2518 ปีที่แล้ว

    thanks a lot man. Great work.

  • @highlightsallaround7684
    @highlightsallaround7684 2 ปีที่แล้ว +1

    Sir thank you so much. Your vedios helped me alot 😍❤️

  • @dgdfacil
    @dgdfacil ปีที่แล้ว

    Jazakallah Brotherrrrr

  • @onshorts687
    @onshorts687 5 หลายเดือนก่อน

    thank u sir . i am very very thankful to u 😍😍🥰🥰🥰🥰

  • @maxencesibi624
    @maxencesibi624 2 ปีที่แล้ว +2

    Thanks !!

  • @modernmonk2645
    @modernmonk2645 2 ปีที่แล้ว +1

    Very useful thanks a lot

  • @amjadzayed5651
    @amjadzayed5651 2 ปีที่แล้ว

    worked, many thanks

  • @wisdommusonda7404
    @wisdommusonda7404 ปีที่แล้ว

    You just earned a new sub bro🙂 Thank you so much for your service

  • @sankalpasenevirathna
    @sankalpasenevirathna 2 ปีที่แล้ว +1

    Thanks a lot!

  • @021gauravverma5
    @021gauravverma5 ปีที่แล้ว

    thanks bro that help me lot!!!

  • @nicholasvendrame5229
    @nicholasvendrame5229 5 หลายเดือนก่อน +1

    thank you

  • @randomxd8693
    @randomxd8693 ปีที่แล้ว

    thank you🙃🙃

  • @henquesz1536
    @henquesz1536 ปีที่แล้ว

    thank you friend, you are amazing

  • @shaman9961
    @shaman9961 2 ปีที่แล้ว +1

    THANKS A LOT ❤❤

  • @parisabaastani1212
    @parisabaastani1212 ปีที่แล้ว +4

    After installing java, the "keytool" command is not recognized yet and you need to add the location of C:\Program Files\Java\jre1.8.0_351\bin to the window environment "PATH".

  • @hayyaanshakeel6332
    @hayyaanshakeel6332 2 ปีที่แล้ว

    Thankyou so much 💖💖

  • @BrxkenBxT
    @BrxkenBxT 10 หลายเดือนก่อน +1

    Hey king you droped this 👑

  • @kamvelihlefatman7206
    @kamvelihlefatman7206 2 ปีที่แล้ว +1

    thank you so much

  • @navyawedsprashath7193
    @navyawedsprashath7193 2 ปีที่แล้ว +1

    Thanks a lot

  • @marlonoliveira7835
    @marlonoliveira7835 2 ปีที่แล้ว

    Muito obrigado amigo, em 5 minutos voce me ajudou no que eu tava levando 4 horas, thank you very much

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      Sem problemas amigo, obrigado por se inscrever e se tornar parte da nossa família

  • @mary200095320
    @mary200095320 ปีที่แล้ว

    Thanks a lot be blessed 🤲🏾

  • @-MDArbaniAsfiDalimunthe
    @-MDArbaniAsfiDalimunthe 2 ปีที่แล้ว

    it work thanks

  • @romanayub
    @romanayub 11 หลายเดือนก่อน

    thank you,
    but im using visual studio,
    then how can I do this on it ?

  • @hussainnes
    @hussainnes 2 ปีที่แล้ว +1

    thanks mate

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      Thanks for being the part of our family 💞

  • @bixodoido007
    @bixodoido007 8 หลายเดือนก่อน

    Perfeito deu certo, muito obrigado !!!

  • @anjasferdian9453
    @anjasferdian9453 ปีที่แล้ว

    thanks brooo

  • @user-danlyee
    @user-danlyee ปีที่แล้ว

    i really appreciate 👍👍👍

  • @javaclass8379
    @javaclass8379 2 ปีที่แล้ว

    sahi video bhai error solve hua

  • @elisantos12456
    @elisantos12456 5 หลายเดือนก่อน

    I can't find the .android folder on my macOS, help-me

  • @ryu-vy9xz
    @ryu-vy9xz 4 หลายเดือนก่อน

    How did you make that animation (the one for your channel?) :)

  • @tavvasrivenkatasrinivas4609
    @tavvasrivenkatasrinivas4609 5 หลายเดือนก่อน

    Your animation at the start of the video is so crazy how did you do it Thankyou sir

  • @sigmarule2241
    @sigmarule2241 4 หลายเดือนก่อน

    Can we only have sha key if java version is 8

  • @abdullahcat4960
    @abdullahcat4960 ปีที่แล้ว

    Muchas gracias amigo

  • @andresrestrepo823
    @andresrestrepo823 2 ปีที่แล้ว +1

    After installing it is important to update the system variables with the java folder and add /bin at the end

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      yes bro, updating the system environment variables will help the cmd command on your windows machine to know the locaiton of java sdk.
      Once the cmd knows the location of that thing, you can easily use the keytool command.

  • @57tusharkhari12
    @57tusharkhari12 2 ปีที่แล้ว +1

    my mac doesn't have .android folder is this problem due to android studio not installed on my mac or other plz tell me ?

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว +1

      .android folder would be installed when you install the android studio and run it for the first time

  • @gaurikadarpelli4439
    @gaurikadarpelli4439 6 หลายเดือนก่อน

    I am unable to find debug.keystore in my PC, please help

  • @MrNazrulstylo
    @MrNazrulstylo 2 ปีที่แล้ว +2

    Help!! gradlew singingReport ERROR. Cant find the JAVA_HOME path even thought i already set the JAVA_HOME at system variables environment

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว +1

      can you double check your bashrc file
      enter this command:
      sudo nano ~/.bashrc
      at the end of this file enter
      JAVA_HOME = / path of java jdk /

    • @MrNazrulstylo
      @MrNazrulstylo 2 ปีที่แล้ว

      @@backslashflutter i already try run this command at flutter vsc, powershell and cmd. i received this error.
      sudo : The term 'sudo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
      try again.
      At line:1 char:1
      + sudo nano ~/.bashrc
      + ~~~~
      + CategoryInfo : ObjectNotFound: (sudo:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException.

    • @MrNazrulstylo
      @MrNazrulstylo 2 ปีที่แล้ว

      @@backslashflutter For gradlew signingReport, when i run gradlew signingReport. The same thing error come out. and when i try run ./gradlew signingReport, it pop out this error.
      ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
      Please set the JAVA_HOME variable in your environment to match the
      location of your Java installation.

    • @MrNazrulstylo
      @MrNazrulstylo 2 ปีที่แล้ว

      @@backslashflutter btw thank you for response good sir. i only stuck at this point of the video :(

    • @sichiweza9152
      @sichiweza9152 2 ปีที่แล้ว

      @@MrNazrulstylo check your spelling, i had the same error there is no g after the n at the end. It's not singingReport it's signinReport

  • @AliHaider-hs8ff
    @AliHaider-hs8ff ปีที่แล้ว +1

    I follow all instructions but it still says keytool' is not recognized as an internal or external command

    • @backslashflutter
      @backslashflutter  ปีที่แล้ว

      😂 if you have installed java jdk 8 then remember to add that in path, if you are on mac then also i have mentioned the steps and also for the windows,steps are mentioned there

  • @anitakumaripandey2204
    @anitakumaripandey2204 ปีที่แล้ว

    its says illegal option while i enter the keytool command. what do I do?

    • @backslashflutter
      @backslashflutter  ปีที่แล้ว

      first type keytool and check if keytool is present.

  • @siddheshsingh3316
    @siddheshsingh3316 2 ปีที่แล้ว +2

    Wah

  • @inproduction7605
    @inproduction7605 ปีที่แล้ว

    great vid but it says the alias androiddebugkey does not exist even though i have the key in my android folder with path done,

    • @backslashflutter
      @backslashflutter  ปีที่แล้ว

      you on mac or windows? Also is this issue still present or it is resolved.

  • @akshaybhat9040
    @akshaybhat9040 2 ปีที่แล้ว +1

    after downloading java still showing keytool not recognized please help

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      If you are using windows pc, then you need to set the environment variables for java jdk. Please have a look at video and there you will see the method for adding java jdk path to environment variables. Once they are added, you will be able to use keytool command in your terminal, and follow up with the sha-1 signature genreation.

  • @ashishranjan4298
    @ashishranjan4298 2 ปีที่แล้ว +1

    # request responsive ui tuorial .....text size n all..

  • @Mouhammed_Taha_Ebbou
    @Mouhammed_Taha_Ebbou 11 หลายเดือนก่อน

    I downlad java sdk but when i type keytool nothin happen

  • @enginsirkeoglu4183
    @enginsirkeoglu4183 ปีที่แล้ว

    How change my sha-1 key ?

    • @backslashflutter
      @backslashflutter  ปีที่แล้ว

      delete the old one and proceed with the steps again.

  • @technicalmastergrow3399
    @technicalmastergrow3399 2 ปีที่แล้ว +1

    ❤❤

  • @demodemo9429
    @demodemo9429 2 ปีที่แล้ว

    How to create different SAH keys for different projects brother

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว +1

      You could have asked how to create differenet sha signature for different pc. The keytool package that comes installed with the java jdk, creates a unique identifier using the current user pc.

    • @demodemo9429
      @demodemo9429 2 ปีที่แล้ว

      @@backslashflutter brother can we use one sah key for all our project's ?

    • @demodemo9429
      @demodemo9429 2 ปีที่แล้ว +1

      @@backslashflutter or every project needs different sah keys individually

  • @monishp168
    @monishp168 2 ปีที่แล้ว

    how to change this SHA 1 key

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      Why do you want to change SHA-1 signature?

  • @satpaljangir4979
    @satpaljangir4979 ปีที่แล้ว

    sir where to find that keystore passwords

  • @satpaljangir4979
    @satpaljangir4979 ปีที่แล้ว

    which password i should give there

  • @user-zi6yk4xq3m
    @user-zi6yk4xq3m ปีที่แล้ว

    It works bt pls add the key password also in description.
    key password : android

  • @piyushjain7223
    @piyushjain7223 ปีที่แล้ว

    what is the keystore password?

  • @My1CrJourney
    @My1CrJourney ปีที่แล้ว

    Thanks a lot, brother. Spent hours, finally worked with second approach using gradlew command. Got an error, had to use '.\gradlew signingReport'

  • @d-freshapp8362
    @d-freshapp8362 2 ปีที่แล้ว +1

    PS C:\Users\asus\Pictures\test-demo\Dealitup001\project 2.5 official\AppSource Code\user\New Customer\android> gradlew signinReport
    gradlew : The term 'gradlew' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
    that the path is correct and try again.
    At line:1 char:1
    + gradlew signinReport
    + ~~~~~~~
    + CategoryInfo : ObjectNotFound: (gradlew:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    Suggestion [3,General]: The command gradlew was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If yo
    u trust this command, instead type: ".\gradlew". See "get-help about_Command_Precedence" for more details. Sir Please check this error and please provide a soluction

    • @backslashflutter
      @backslashflutter  2 ปีที่แล้ว

      please migrate to the right directory that is mentioned in the video. I can see the firetory that you are migrating is in Users\asus\Pictures,
      For generating the sha signature and also for vieweing those signature we have the command for windows mentioned in the description of this video

  • @tusharchander8935
    @tusharchander8935 ปีที่แล้ว

    Thanks a lot!!!