decipher3114 / Revancify

The only revancify
Apache License 2.0
859 stars 61 forks source link

Keystore error #31

Closed 98xe closed 8 months ago

98xe commented 1 year ago

Error occurs whenever trying to patch something with ReVanced. RV Extended works fine, though.

Log:

INFO: Decoding app manifest 
INFO: Export all activities excluded 
INFO: Remove screen capture restriction excluded 
INFO: Remove screenshot restriction excluded 
INFO: Spoof Wi-Fi connection excluded 
INFO: Predictive back gesture excluded 
INFO: Override certificate pinning excluded 
INFO: Change package name excluded 
INFO: Enable Android debugging excluded 
INFO: Hide ads excluded 
INFO: Sanitize sharing links excluded 
INFO: Disable screenshot popup excluded 
INFO: Unlock premium Reddit icons excluded 
INFO: Setting patch options 
INFO: Executing patches 
INFO: Compiling modified dex files 
INFO: Aligning base.apk 
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:228)
    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)

Rooted: false
Arch: arm64-v8a
App: Reddit v2023.39.1
CLI: revanced-cli-v4.0.1.jar
Patches: revanced-patches-v2.193.0.jar
Integrations: revanced-integrations-v0.119.0.apk
Patches argument: -i hide-ads
-i sanitize-sharing-links
-i disable-screenshot-popup
-i unlock-premium-reddit-icons
Sam101011 commented 1 year ago

I think it's beacuse of ReVanced CLI 4.0.0. RVX still uses v3 and that's why it works fine