I am trying to migrate Google Map to Huawei Map kit. Now I should generate local SHA 256 fingerprint for Huawei App Gallery and I am following this official documentation provided by HUAWEI: Configuring App Gallery Connect
agconnect-servises.json
filekeytool -list -v -keystore <my .jks file path>
Instead of getting the result which official doc. provided I am getting the following result in cmd.
I searched a lot and did not find any single information about this. What should I do to get the certificate?
The keytool command requires the addition of more options to get your SHA256. Here is the correct command with the additional options.
keytool -list -v -keystore <keystore path> -alias <key alias> -storepass <keystore password>
While using the keytool is necessary in getting the SHA256, the Java keytool is a utilty created by Oracle and is not exclusive to the process of publishing on the Huawei AppGallery. Please refer to the official documentation for more information: Link