Error creating Android Standalone
Klaus major-k
klaus at major-k.de
Mon Aug 26 08:32:48 EDT 2024
Hi Panos,
thank you, will try this!
java -version gives me:
---------------------
java version "1.8.0_311"
Java(TM) SE Runtime Environment (build 1.8.0_311-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.311-b11, mixed mode)
And i don't even have a folder Java in /Library/
Question:
--------------------
> java -jar pepk.jar --keystore=foo --alias=foo --output=output.zip
> --rsa-aes-encryption
> --encryption-key-path=/path/to/your/encryption_public_key.pem
---------------------
Is this:
> ...
> --encryption-key-path=/path/to/your/encryption_public_key.pem
The PEM file I already created?
Why is this all so damn difficult and complicated? :-/
> Am 26.08.2024 um 14:19 schrieb panagiotis merakos via use-livecode <use-livecode at lists.runrev.com>:
>
> Hello Klaus,
>
> Ok I see.
>
> Yes, so it seems you need to install a newer JDK version to work with the
> terminal. So you need to do some JDK "dance":
>
>
> - Download and install a newer (version >= 20.x) version of the Java JDK
> - Verify it is installed correctly, by checking in
> /Library/Java/JavaVirtualMachines/ - you should see a subfolder named e.g.
> "jdk-20.0.1.jdk" there.
>
> - In the Terminal, navigate (using cd) to the folder containing your
> resources (pepk.jar, foo.keystore)
> - Try the terminal command now:
>
> java -jar pepk.jar --keystore=foo --alias=foo --output=output.zip
> --rsa-aes-encryption
> --encryption-key-path=/path/to/your/encryption_public_key.pem
>
> If the command is successful, you should see a file "output.zip" in that
> folder, which you have to upload to the Play Store
>
> Note: To verify that the Terminal will indeed use the new jdk version
> rather than the "old" v8 one, you can do in the Terminal:
>
> java -version
>
> If this still returns v8, thn try to temporarily remove v8 from
> /Library/Java/JavaVirtualMachines/ and put it back once the terminal
> command succeeds.
>
> Hope this helps.
>
> Kind regards,
> Panos
Best
Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de
More information about the use-livecode
mailing list