Help uploading an .apk on Android

I have read a lot of uploading a new apk to Android.

But I do need help.

your APK needs the release mode…

your APK with a certificate that expires too soon…

I don’t even have a certificate… how or where do I get that

and how about the release mode…

please help me out in this problems.

I say thank you in advance for taking the time to help me.

I really appreciate your time

Everything you need is in this guide:
 

http://docs.coronalabs.com/guide/distribution/androidBuild/index.html

Rob

Thank you Rob. I will read that to see if I have questions.

I have not been in the forum for a few months…

I have been working to get my first app in Android.

The 3 apps you help me build, 2 of them are still doing really good

thanks for all your help, and thanks to all the people in Corona.

If I can get this apps in Android and Apple, I think I will have enough

to go Pro in Corona, and probably star doing apps full time

that’s my dream

is everything fine with you with the apps your making?

I read this

“you will need to install the x86 (32-bit) version of the Java 6 Development Kit if you’re using Windows” – But I have a Mac

then this

"You can generate this key using the command line program Keytool" - Where is Keytool on Mac?

I read this on stackoverflow

"

keytool is part of the JDK.

Try to prepend %{JAVA_HOME}\ to the exec statement or c:{path to jdk}\bin" I don’t get it


" Terminal in Mac OS X. Once there, use the cd command to change to the directory" – How do I do this?

Mac’s have keytool built in.  In my case it’s in /usr/bin which is already part of your path.

Mac’s have a Java JDK installed, but you  may need to update this.  As far as teaching you how to use the terminal is not something Corona Labs can provide.  It’s too broad of a subject.  There are plenty of tutorials on using the command line out there.

Rob

In that magnifying glass, type in the word:   terminal

and hit enter.

This will launch the terminal app.  Its from here that you can start doing these command line commands.

Beyond that you will need to use Google and search to learn these.

Thanks Rob. I went to the menu “Go” in my desktop… then “Computer”…Macintosh HD… System… Library … Java … Home … bin…

and way down there I saw “keytool” – I double click there and it is the “terminal” I use for debugging in Corona…

I Type “terminal” in the magnifying glass, and it is the same thing…

Now like you said… go to google to find out how to use it…please wish me good luck!

Thanks for your help

Hi Rob. I finally type the code in the terminal

– sudo keytool -genkey -v -keystore mykeystore.keystore -alias aliasname -keyalg RSA -validity 999999

after password name, organization, City State and Country I got this:

– Generating 1, 024 bit RSA key pair and self-signed certificate (SH…numberRSA) with validity of 99, 999 days

[Storing nameofmyapp.keystore]

And I went to Corona build and I see

– Keystore – Debug – Browse

–Key Alias – androiddebugkey

But I don’t see the “Release” any where

What am I missing?

When you ran the keytool command it creates a file called “mykeystore.keystore” and put it in whatever directory you were in when you ran the command.  I suspect that you did this in your home directory.

When you run the build for android, you will need to browse to your home directory and find the file mykeystore,keystore and select it.  You will be prompted for your password, enter it.

Then you will need to select “aliasname” from the next select in the dialog box.

Just as an educational point.  Those commands are not meant to be typed in exactly as written.  They expect you to substitute in values that make sense for you.  For instance, you could have named “mykeystore.keystore” “billybob.keystore” if you wanted to.  The aliasname is a name you’re also supposed to make up.  Now you just need to remember these values and remember where you put mykeystore.keystore.  In the future, if you run other commands that need to find that keystore and alias, you will need to remember what they are.  And whatever command you need won’t likely use those names so if you copy/paste or type in exactly what’s there, it’s not likely going to work for you.

Rob

Hi Rob… I just hit the button “Ready to publish” I just have to wait to see when is actually in Google play.

I just wanted to say thank you very much Rob, with all my heart, thank you for everything.

Victor

Everything you need is in this guide:
 

http://docs.coronalabs.com/guide/distribution/androidBuild/index.html

Rob

Thank you Rob. I will read that to see if I have questions.

I have not been in the forum for a few months…

I have been working to get my first app in Android.

The 3 apps you help me build, 2 of them are still doing really good

thanks for all your help, and thanks to all the people in Corona.

If I can get this apps in Android and Apple, I think I will have enough

to go Pro in Corona, and probably star doing apps full time

that’s my dream

is everything fine with you with the apps your making?

I read this

“you will need to install the x86 (32-bit) version of the Java 6 Development Kit if you’re using Windows” – But I have a Mac

then this

"You can generate this key using the command line program Keytool" - Where is Keytool on Mac?

I read this on stackoverflow

"

keytool is part of the JDK.

Try to prepend %{JAVA_HOME}\ to the exec statement or c:{path to jdk}\bin" I don’t get it


" Terminal in Mac OS X. Once there, use the cd command to change to the directory" – How do I do this?

Mac’s have keytool built in.  In my case it’s in /usr/bin which is already part of your path.

Mac’s have a Java JDK installed, but you  may need to update this.  As far as teaching you how to use the terminal is not something Corona Labs can provide.  It’s too broad of a subject.  There are plenty of tutorials on using the command line out there.

Rob

In that magnifying glass, type in the word:   terminal

and hit enter.

This will launch the terminal app.  Its from here that you can start doing these command line commands.

Beyond that you will need to use Google and search to learn these.

Thanks Rob. I went to the menu “Go” in my desktop… then “Computer”…Macintosh HD… System… Library … Java … Home … bin…

and way down there I saw “keytool” – I double click there and it is the “terminal” I use for debugging in Corona…

I Type “terminal” in the magnifying glass, and it is the same thing…

Now like you said… go to google to find out how to use it…please wish me good luck!

Thanks for your help

Hi Rob. I finally type the code in the terminal

– sudo keytool -genkey -v -keystore mykeystore.keystore -alias aliasname -keyalg RSA -validity 999999

after password name, organization, City State and Country I got this:

– Generating 1, 024 bit RSA key pair and self-signed certificate (SH…numberRSA) with validity of 99, 999 days

[Storing nameofmyapp.keystore]

And I went to Corona build and I see

– Keystore – Debug – Browse

–Key Alias – androiddebugkey

But I don’t see the “Release” any where

What am I missing?

When you ran the keytool command it creates a file called “mykeystore.keystore” and put it in whatever directory you were in when you ran the command.  I suspect that you did this in your home directory.

When you run the build for android, you will need to browse to your home directory and find the file mykeystore,keystore and select it.  You will be prompted for your password, enter it.

Then you will need to select “aliasname” from the next select in the dialog box.

Just as an educational point.  Those commands are not meant to be typed in exactly as written.  They expect you to substitute in values that make sense for you.  For instance, you could have named “mykeystore.keystore” “billybob.keystore” if you wanted to.  The aliasname is a name you’re also supposed to make up.  Now you just need to remember these values and remember where you put mykeystore.keystore.  In the future, if you run other commands that need to find that keystore and alias, you will need to remember what they are.  And whatever command you need won’t likely use those names so if you copy/paste or type in exactly what’s there, it’s not likely going to work for you.

Rob

Hi Rob… I just hit the button “Ready to publish” I just have to wait to see when is actually in Google play.

I just wanted to say thank you very much Rob, with all my heart, thank you for everything.

Victor