You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Trying to know the hash key
2. Command: java -jar android-fb-keytool.jar -keystore /home/ahmedatif/desktop
3.
What is the expected output? What do you see instead?
I think the expected output is the hash key
What version of the product are you using? On what operating system?
Mac OS
Please provide any additional information below.
I've downloaded the soruce code, it's for reading only, I found that in the
code:
if(args.length == 0) {
usage();
return;
}
int i = 0;
while(i < args.length) {
String arg = args[i];
if(arg.equalsIgnoreCase("-keystore")) {
i++;
keystore = args[i];
} else if(arg.equalsIgnoreCase("-storepass")) {
i++;
storepass = args[i];
} else if(arg.equalsIgnoreCase("-alias")) {
i++;
alias = args[i];
} else if(arg.equalsIgnoreCase("-keypass")) {
i++;
keypass = args[i];
} else if(arg.equalsIgnoreCase("-h") || arg.equalsIgnoreCase("-help")) {
usage();
return;
} else {
error("Unknown argument - " + arg);
return;
}
i++;
}
if(keystore == null) {
error("Keystore path didn't specified");
return;
}
if(alias == null) {
error("Key alias didn't specified");
return;
}
--> You check alias while I didn't even type it, I mean I shouldn't type it,
the command is asking about the keystore so why should I type alias, it should
be null and I think you shouldn't return.
Thanks in advance !
Original issue reported on code.google.com by ahmed.at...@gmail.com on 18 Nov 2013 at 11:57
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
ahmed.at...@gmail.com
on 18 Nov 2013 at 11:57The text was updated successfully, but these errors were encountered: