Coder Social home page Coder Social logo

android-fb-keytool's People

Watchers

 avatar

android-fb-keytool's Issues

Error: Key alias didn't specified

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

Exception ArrayIndexOutOfBounds

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.