Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Failed to purge resource cache directory #283

Closed
3 tasks done
cyberboh opened this issue Oct 10, 2023 · 1 comment
Closed
3 tasks done

bug: Failed to purge resource cache directory #283

cyberboh opened this issue Oct 10, 2023 · 1 comment
Labels
Bug report Something isn't working

Comments

@cyberboh
Copy link
Contributor

cyberboh commented Oct 10, 2023

Bug description

After patching succedeed, the cli can not purge resource cache directory at the end.
E.g try to patch Reddit

java -jar revanced-cli.jar patch -p -o Install\Reddit_ReVanced.apk -b revanced-patches.jar --keystore=ks.keystore -m revanced-integrations.apk Reddit.apk

Error logs

INFO: Loading patches
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: Setting patch options
INFO: Merging integrations
INFO: Deleting existing resource cache directory
INFO: Decoding resources
INFO: Executing patches
INFO: Disable screenshot popup succeeded
INFO: Hide ads succeeded
INFO: Sanitize sharing links succeeded
INFO: Unlock premium Reddit icons succeeded
INFO: Compiling patched dex files
INFO: Compiled classes.dex
INFO: Compiled classes2.dex
INFO: Compiled classes3.dex
INFO: Compiled classes4.dex
INFO: Compiled classes5.dex
INFO: Compiled classes6.dex
INFO: Compiled classes7.dex
INFO: Compiled classes8.dex
INFO: Compiled classes9.dex
INFO: Compiled classes10.dex
INFO: Compiled classes11.dex
INFO: Compiled classes12.dex
INFO: Compiling modified resources
INFO: Aligning Reddit.apk
INFO: Signing Reddit.apk
INFO: Purging temporary files
INFO: Failed to purge resource cache directory

Solution

No response

Additional context

cli vers v4.0.2-dev.3

Acknowledgements

  • This request is not a duplicate of an existing issue.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@cyberboh cyberboh added the Bug report Something isn't working label Oct 10, 2023
@oSumAtrIX oSumAtrIX closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2023
@oSumAtrIX
Copy link
Member

Same issue as ReVanced/revanced-patcher#259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants