This is an automated archive made by the Lemmit Bot.
The original was posted on /r/revancedapp by /u/Zirardi on 2023-09-25 09:10:09.
Hi ReVanced team,
Today i download cli 4.0.0 dev version , and i see another big update inside. I tried to patch apk with it, but my old keystore does not work. The error appear like this:
java.lang.IllegalArgumentException: Keystore does not contain alias ReVanced Key
at app.revanced.library.ApkSigner.readKeyCertificatePair(ApkSigner.kt:91)
at app.revanced.library.ApkSigner.newApkSignerBuilder(ApkSigner.kt:227)
at app.revanced.library.ApkUtils.sign(ApkUtils.kt:79)
at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:246)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:13)
So, how to use new cli to generate Revanced Key as universal Key to sign patched apk? i analyze the new argument but can't find new options to generate a new key. I know the key is created automatically as per app you patched with.If it's not available, maybe could you add arg to it like --create-key
arg?
Thank you.
Sincerely,
Zirardi