demitsuri / android-fb-keytool Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-fb-keytool
Automatically exported from code.google.com/p/android-fb-keytool
What steps will reproduce the problem?
1. I use this in terminal java -jar android-fb-keytool.jar
2. It gives me the properties I can use like -keystore
3. When i use any option in gives an exception
What is the expected output? What do you see instead?
The expected output is the keystore
But it gave me an exception which is
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at com.litecoding.android.fbkeytool.Main.main(Main.java:32)
What version of the product are you using? On what operating system?
I am on Mac OS 10.9
Please provide any additional information below.
I downloaded the source code but it's read only.
Original issue reported on code.google.com by [email protected]
on 14 Nov 2013 at 2:24
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 [email protected]
on 18 Nov 2013 at 11:57
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.