Keystore issue

Building an android app on simulator and used debug.keystore. The docs I read said use 'android; for password. But it fails; responds with it is wrong password for that keystrore or it is an invalid keystore. Is there a different password for the debug.keystore?
the key alias field remains ghosted - I can not select ‘androiddebugkey’, as instructed by the docs, since that does not exist anywhere on my Mac

I am using Mac Sequoia and had loaded Java Sdk 23.0.1. and have latest Solar2d build 3710

Any sugestios?

Did I by any chance need to load an older version of Java Sdk ?

Thanks
Bob

Once I had that error I managed to fix it by:
Removing all Java versions I had installed.
Install JAVA SE Development Kit 22 64bits.

Hope it works.

Thank you Petiflas!

I will try that. Any suggestions on how to remove java - I figure there is some trick to removing it properly. The terminal shows I had successfully installed java sdk 23.0.1, but I can’t find path to that any where on my Mac.

Thanks again!
Bob

Petiflas,

I don’t see a java 22 on oracle site. I only see JDK 21 and JDK 23
And my Mac has a M2 pro chip, do you have similar or an intel chip?

I am still not sure of best(safest) way to ‘unistall’ java - any suggestions?

Thanks
Bob

never mind - I found 22 in the Oracle archives downloads.

That is the Java version i used for Windows to be able to sign the app correctly.

For Mac, I use SONOMA, and XCODE 16.0 Solar2d build 3710. and then install Xcode Command Line Tools which was enough for. I didn’t install any Java versions.

On the first build in android I get a message to request to download Android SDK. I used the androiddebugkey without any issues.

Thanks for that info - if I can do it without java great - but I thought I needed java on Mac to create keystores for my apps. The problem I am having my other Mac I did all this stuff on years ago I had to get a new one, and having basically to start all over setting things up.

Thanks again for your help!