Help on keytool run command for APK android

Hi everyone…

Here, I’m trying to run a command line in terminal.

I am trying to generate a private key for build the APK for android.

I have to type this line: I use sudo because I have a mac.

sudo keytool -genkey -v -keystore kidsguitareasytabs.keystore -alias kidsguitar -keyalg RSA -validity 999999


PROBLEM


I really don’t understand the ( cd ) change directory stuff


Option 1


I open terminal

type the line

hit my return key in the keyboard

nothing happens


option 2


I open terminal

go to the menu > shell

New Command Line

Type the line in there

hit my return key in the keyboard

nothing happens


I know that the terminal is going to ask me for my password, and my information

like what is your first name?

what is your organization? and things like that

but I just can not make the terminal do that for me

Please help me out

what am I missing…

And also if you can explain where it will be saving the file I need

I am very confusing at this point

Thanks for your help

Option 1 should work.

It looks like Terminal doesn’t open a session for you.

Do you get a command prompt when you open Terminal? (i.e. something like:  mymac:~ myname$)

BTW. The file will be created in the same folder that you’re in when you give the command.

When I open terminal, it usually opens 2 windows, I notice one has the

(i.e. something like:  mymac:~ myname$)

and the other one NO

I use the one with …   (i.e. something like:  mymac:~ myname$)

and it works!

Thanks

Option 1 should work.

It looks like Terminal doesn’t open a session for you.

Do you get a command prompt when you open Terminal? (i.e. something like:  mymac:~ myname$)

BTW. The file will be created in the same folder that you’re in when you give the command.

When I open terminal, it usually opens 2 windows, I notice one has the

(i.e. something like:  mymac:~ myname$)

and the other one NO

I use the one with …   (i.e. something like:  mymac:~ myname$)

and it works!

Thanks