我有带有通知的项目,我使用firebase和php发送此通知,我必须创建身份验证客户端
我已经使用https://developers.google.com/android/guides/client-auth来获得我的SHA 但是当我执行
keytool -list -v -keystore "c:\users\myuser\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
我遇到此错误
Nom d'alias : androiddebugkey
Date de création : 12 juil. 2017
Type d'entrée : PrivateKeyEntry
Longueur de chaîne du certificat : 1
Certificat[1]:
erreur keytool : java.util.IllegalFormatConversionException: d != java.lang.String
java.util.IllegalFormatConversionException: d != java.lang.String
at java.util.Formatter$FormatSpecifier.failConversion(Unknown Source)
at java.util.Formatter$FormatSpecifier.printInteger(Unknown Source)
at java.util.Formatter$FormatSpecifier.print(Unknown Source)
at java.util.Formatter.format(Unknown Source)
at java.util.Formatter.format(Unknown Source)
at java.lang.String.format(Unknown Source)
at sun.security.tools.keytool.Main.withWeak(Unknown Source)
at sun.security.tools.keytool.Main.printX509Cert(Unknown Source)
at sun.security.tools.keytool.Main.doPrintEntry(Unknown Source)
at sun.security.tools.keytool.Main.doCommands(Unknown Source)
at sun.security.tools.keytool.Main.run(Unknown Source)
at sun.security.tools.keytool.Main.main(Unknown Source)
我有Windows 10 我已经安装了Android Studio 3.2
请帮助我