[Resolved] debug.Keystore not valid or incorrect password ??

hey Joshua… your last suggestion of uninstalling Java jdk1.6.0_31 and installing “Java SE 6 Update 38”. actually did the trick… thanks a million… you have no idea how much on-going frustration you have saved me.
THANKS!!!
I didn’t have to do anything with the with JRE7 update 9 lingering in the background either so that was a plus.
Once again. Thank you very much. [import]uid: 136978 topic_id: 29668 reply_id: 134754[/import]

Thanks Joshua…but could you be a tad bit more specific …what exactly am i supposed to change and where ?? Is this a setting on my computer config files or a setting within my corona downloaded software. My frustration is the lack of any meaningful documentation…and the assumption that we are all tech geniuses . Any and all step by step directions will be appreciated.
Also it would have been nice if after paying i still had access to the debug keystore for debugging purposes. [import]uid: 136978 topic_id: 29668 reply_id: 134548[/import]

Thanks Joshua…but could you be a tad bit more specific …what exactly am i supposed to change and where ?? Is this a setting on my computer config files or a setting within my corona downloaded software. My frustration is the lack of any meaningful documentation…and the assumption that we are all tech geniuses . Any and all step by step directions will be appreciated.
Also it would have been nice if after paying i still had access to the debug keystore for debugging purposes. [import]uid: 136978 topic_id: 29668 reply_id: 134549[/import]

Have a look at the following website. It has step-by-step instructions (with pictures) on how to get to your system’s environment variables.
http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7

What I need you to do is check if the “PATH” environment variable references the JDK 7. If it does, then remove the JDK 7 path. Note that you should only delete the JDK 7 path and keep all of the other paths or else you might break other software applications that depend on this setting. If you are not confident in doing this yourself, then I suggest that you find someone who is PC savvy to help you.

Also, the debug keystore is easily selectable in the Android build window’s drop down box. You do not have to browse for it. [import]uid: 32256 topic_id: 29668 reply_id: 134570[/import]

Happy to help! I’m glad it’s finally working for you. [import]uid: 32256 topic_id: 29668 reply_id: 134863[/import]

THANKS joshua!!!.. that was very helpful…I’m running Vista… but it’s basically the same setting… i will try it when i get home tonite… i also noticed last nite that my java updated itself to version 9 yikes… that will explain some… if not all my problems…lol
in regards to the debug.keystore drop-down option… when i select it it asks for a password and i supply the standard "android’ pswd but it doesn’t like that.
For now…i will assume that both my first and second issues are PATH related so I will take it one bite at a time…and report back my success/failure
ONCE again… thanks for your patience, help and expedient response…
People like you restore my confidence in corona each time i get frustrated…it’s a great product but sometimes gets frustrating when you are new and don’t know all the little idiosyncrasies related to it. I’m slowly learning…but it’s frustrating none-the-less… lol [import]uid: 136978 topic_id: 29668 reply_id: 134617[/import]

Happy to help!

One more thing. Selecting the debug keystore in the Android build window should not ask you for a password. That’s definitely not normal. I’m wondering if there is something wrong with your JDK 6 installation. I think you should attempt to “repair” it, just in case.

Here is how to repair your JDK 6 installation:

  1. Go to the Windows “Uninstall a program” window under the Control Panel.
  2. Highlight the JDK 6 in the list.
  3. Click on the Repair button.
  4. Follow the onscreen instructions to repair the JDK.

Note that all a “repair” does is re-install the JDK. Windows keeps a copy of the JDK install program, so this is the easiest way to re-install it.
[import]uid: 32256 topic_id: 29668 reply_id: 134665[/import]

I added the JDK6 location to my path variable
contents of Path variable
C:\Program Files\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files\Java\jdk1.6.0_31

contents of PATHEXT variable
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
I then generated a new keystore called ISBN-key.keystore
Resulted in the same message
“… the password for the key Store located at C:\Program Files\Java\jdk1.6.0_31\bin\ISBN-key.keystore was not valid, or the key store was not valid…”
i enter my password and the message keeps coming back.

so in apparent frustration I resorted to using the debug.keystore as my fallback …so i re-installed the JDK6 per your instructions
I still have the same issue even with the debug.keystore…message reads as follows:
“… the password for the key Store located at c:\program files\Corona Labs\corona SDK\resources\debug.keystore was not valid, or the key store was not valid…”
when i click okay… it asks for the password… i enter the debug.keystore pswd “android” and I get the same msg back

“… the password for the key Store located at c:\program files\Corona Labs\corona SDK\resources\debug.keystore was not valid, or the key store was not valid…”
Now I’m obviously stuck and frustrated …i was always able to use the debug.keystore to play around and preview my changes on my test device but the very day/moment I decided to publish and paid for the subscription I lost the debug.keystore and have not been able to get my self generated keystore or any keystore for that matter to work.
I’m at wits end at this point… i have been screwing around with this since Thu, 2012-09-13 23:32
at this point any and all help will be appreciated. [import]uid: 136978 topic_id: 29668 reply_id: 134740[/import]

The issue you are facing is with the JDK’s tools and not the keystore files. We use the JDK’s tools to access keystore files and the tools are failing us.

Honestly, I don’t what is wrong either.
Have you tried another PC?

Also, do you need the JDK 7? If not, uninstall it. You shouldn’t have to because I have a PC which has multiple JDK’s installed, but for some reason the wrong JDK tool is being selected… or it’s just not working correctly.

You can also trying install the newest version of the JDK 6 from Oracle’s website. You can find it via the below link under “Java SE 6 Update 38”. Make sure to download and install the x86 version, which is the 32-bit version.
http://www.oracle.com/technetwork/java/javase/downloads/index.html
[import]uid: 32256 topic_id: 29668 reply_id: 134745[/import]

hey Joshua… your last suggestion of uninstalling Java jdk1.6.0_31 and installing “Java SE 6 Update 38”. actually did the trick… thanks a million… you have no idea how much on-going frustration you have saved me.
THANKS!!!
I didn’t have to do anything with the with JRE7 update 9 lingering in the background either so that was a plus.
Once again. Thank you very much. [import]uid: 136978 topic_id: 29668 reply_id: 134754[/import]

Happy to help! I’m glad it’s finally working for you. [import]uid: 32256 topic_id: 29668 reply_id: 134863[/import]

Josh,

I have the same thing, so its not that hard to solve. Maybe im not looking good, but i can’t find the JDK6 for mac. I check the oracle site. Do you have a link where to get it? Or can somebody share it?

Greetings,
John. [import]uid: 164820 topic_id: 29668 reply_id: 138062[/import]

John,

This is the first I’ve heard of a similar issue on Mac. When you attempt to build an Android app in our Corona Simulator on Mac, it is supposed to prompt you to download the JDK 6. Did it never do that?

You can find the JDK on your machine in the following directory…
> System/Library/Java/JavaVirtualMachines

If you see a file named something like “1.6.x.jdk” where the ‘x’ may be zero or a higher number, then you have the correct JDK version already installed. If you have 1.7.x installed, then you have JDK 7 installed which will sign your APK with an encryption that Android does not support.

You can download JDK 6 for Mac on the Apple’s website here…
http://support.apple.com/kb/DL1572
[import]uid: 32256 topic_id: 29668 reply_id: 138117[/import]

Humm it didnt gave me that message, because i already have it installed. In the directory which you gave me it shows 1.6.0.jdk.

But it haves me still a password problem and I’m sure that i gave the correct password. I gave the private, public key and certificate all the same passwords just to be sure.

Shall i install the JDK again? Or do you got another trick?

This is the first time i build for android so thats the reason its the first time i have this problem.

[import]uid: 164820 topic_id: 29668 reply_id: 138126[/import]

The team here has noticed that OS X has recently been prompting people to update their JRE/JDK to 7 now. So, this is a recent issue.

Apple provides documentation on how to disable Java 7 and use Java 6 instead here…
http://support.apple.com/kb/HT5559
[import]uid: 32256 topic_id: 29668 reply_id: 138170[/import]

Josh,

I have the same thing, so its not that hard to solve. Maybe im not looking good, but i can’t find the JDK6 for mac. I check the oracle site. Do you have a link where to get it? Or can somebody share it?

Greetings,
John. [import]uid: 164820 topic_id: 29668 reply_id: 138062[/import]

John,

This is the first I’ve heard of a similar issue on Mac. When you attempt to build an Android app in our Corona Simulator on Mac, it is supposed to prompt you to download the JDK 6. Did it never do that?

You can find the JDK on your machine in the following directory…
> System/Library/Java/JavaVirtualMachines

If you see a file named something like “1.6.x.jdk” where the ‘x’ may be zero or a higher number, then you have the correct JDK version already installed. If you have 1.7.x installed, then you have JDK 7 installed which will sign your APK with an encryption that Android does not support.

You can download JDK 6 for Mac on the Apple’s website here…
http://support.apple.com/kb/DL1572
[import]uid: 32256 topic_id: 29668 reply_id: 138117[/import]

Humm it didnt gave me that message, because i already have it installed. In the directory which you gave me it shows 1.6.0.jdk.

But it haves me still a password problem and I’m sure that i gave the correct password. I gave the private, public key and certificate all the same passwords just to be sure.

Shall i install the JDK again? Or do you got another trick?

This is the first time i build for android so thats the reason its the first time i have this problem.

[import]uid: 164820 topic_id: 29668 reply_id: 138126[/import]

The team here has noticed that OS X has recently been prompting people to update their JRE/JDK to 7 now. So, this is a recent issue.

Apple provides documentation on how to disable Java 7 and use Java 6 instead here…
http://support.apple.com/kb/HT5559
[import]uid: 32256 topic_id: 29668 reply_id: 138170[/import]

Josh,

I did some reading and also found out that alot of these issues are related with java and mac.

The problem i encounter is a difficult one, because on my machine is only java 1.6.0.jdk. Java 7 is not on it. Its not in the virtual machine directory. I also know that iOS stores it on two places in the system/lib and also in root/lib.

There are two issues but i think both are connected to the java issue.
1 - password problem during build
2 - application wont install on android when build (tested it with debug)

I found out that if you have this problem and you allow unknown installations on android it has something to do with java also.

I cant really solve it because i have java 7 not installed. So im a bit confused on what to do.

I have two macs, these are the specs:

  • iMac - 3.1 Ghz Intel Core i5 - 8GB 1333 Mhz DDR3 - software 10.7.5 (up to date trough software-update) and only JavaVirtualMachines/1.6.0.jdk
  • MacbookPro - 2.66 Ghz Intel Core 2 Duo - 8 GB 1067 Mhz DDR3 - software 10.8.2 and only JavaVirtualMachines/1.6.0.jdk

On both machines its not working. Does Corona has any ideas for me what to do?

Greetz
John. [import]uid: 164820 topic_id: 29668 reply_id: 138979[/import]