The password for alias %s was not valid, or the Java JDK was not found.

When trying to build for Android, I see the following error message:

‘The password for alias %s was not valid, or the Java JDK was not found.’

It then prompts me for the password for key alias ‘androiddebugkey’. It won’t accept ‘android’, it just throws up the same error.

I’ve searched everywhere but I can’t find anyone who has the same error message.

I have the following Java Development Kits installed:

Java SE Development Kit 7 Update 79 (64-bit)

Java SE Development Kit 8 Update 45

Java SE Development Kit 8 Update 45 (64-bit)

My ‘Keystore’ setting is: ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\debug.keystore’

My ‘Key Alias’ setting is: ‘androiddebugkey’

Thanks

Hi @hkibble,
Please consult the following guides and ensure that you have every detail met:

https://docs.coronalabs.com/guide/start/installWin/index.html
https://docs.coronalabs.com/guide/distribution/androidBuild/index.html

Best regards,
Brent

Hi Brent,

Thanks for getting back to me.

I have followed all of these instructions and the issue has not changed.

Here’s my build settings:

PHDXKCP.jpg

Hi @hkibble,

Are you sure that you have the “x86” version of JDK 7 installed, as indicated by the guide I linked you to? It should be the “Java SE Development Kit 7u72” link from the download page. Can you please un-install all of the other versions (if possible) and install that one instead?

Thanks,

Brent

Hi @hkibble,
Please consult the following guides and ensure that you have every detail met:

https://docs.coronalabs.com/guide/start/installWin/index.html
https://docs.coronalabs.com/guide/distribution/androidBuild/index.html

Best regards,
Brent

Hi Brent,

Thanks for getting back to me.

I have followed all of these instructions and the issue has not changed.

Here’s my build settings:

PHDXKCP.jpg

Hi @hkibble,

Are you sure that you have the “x86” version of JDK 7 installed, as indicated by the guide I linked you to? It should be the “Java SE Development Kit 7u72” link from the download page. Can you please un-install all of the other versions (if possible) and install that one instead?

Thanks,

Brent