revanced-patcher icon indicating copy to clipboard operation
revanced-patcher copied to clipboard

bug: (probably) false warning about cache directory

Open ViktorVoloshko opened this issue 1 year ago • 10 comments

Type

Error while running the CLI

Bug description

This bug occurs every time when using CLI.

SEVERE: Failed to delete existing resource cache directory

Steps to reproduce

Just try to patch something.

Relevant log output

INFO: Reading dex files
INFO: Decoding AndroidManifest.xml only, because resources are not needed
INFO: Merging revanced-integrations-v0.64.0.apk
WARNING: Skipping tiktok-ads, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically
WARNING: Skipping tiktok-speed, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically
WARNING: Skipping tiktok-download, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically
WARNING: Skipping tiktok-seekbar, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically
WARNING: Skipping tiktok-settings, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically
WARNING: Skipping tiktok-force-login, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically
WARNING: Skipping tiktok-feed-filter, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.ss.android.ugc.trill, com.zhiliaoapp.musically
WARNING: Skipping timeline-ads, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.twitter.android
WARNING: Skipping dynamic-color, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.twitter.android
WARNING: Skipping monochrome-icon, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.twitter.android
WARNING: Skipping promo-code-unlock, reason: incompatible with com.google.android.youtube. This patch is only compatible with de.dwd.warnapp
WARNING: Skipping spotify-theme, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.spotify.music
WARNING: Skipping disable-capture-restriction, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.spotify.music
WARNING: Skipping hide-premium-navbar, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.spotify.music
INFO: Skipping theme, reason: manually excluded
INFO: Skipping custom-branding, reason: manually excluded
INFO: Skipping premium-heading, reason: manually excluded
INFO: Skipping microg-support, reason: manually excluded
INFO: Skipping enable-debugging, reason: manually excluded
WARNING: Skipping pflotsh-ecmwf-subscription-unlock, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.garzotto.pflotsh.ecmwf_a
WARNING: Skipping tasteBuilder-remover, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping hide-get-premium, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping minimized-playback-music, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
INFO: Skipping compact-header, reason: excluded by default
WARNING: Skipping upgrade-button-remover, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping music-video-ads, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping background-play, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping exclusive-audio-playback, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping codecs-unlock, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping music-microg-support, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping premium-icon-reddit, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.reddit.frontpage
WARNING: Skipping general-reddit-ads, reason: incompatible with com.google.android.youtube. This patch is only compatible with com.reddit.frontpage
INFO: Deleting existing resource cache directory
SEVERE: Failed to delete existing resource cache directory
INFO: Decoding resources
INFO: hide-crowdfunding-box succeeded
INFO: hide-time-and-seekbar succeeded
INFO: hide-video-buttons succeeded
INFO: enable-wide-searchbar succeeded
INFO: hide-captions-button succeeded
INFO: hide-shorts-button succeeded
INFO: hide-create-button succeeded
INFO: disable-startup-shorts-player succeeded
INFO: hide-cast-button succeeded
INFO: sponsorblock succeeded
INFO: hide-autoplay-button succeeded
INFO: hide-watch-in-vr succeeded
INFO: hide-album-cards succeeded
INFO: disable-auto-player-popup-panels succeeded
INFO: disable-auto-captions succeeded
INFO: disable-fullscreen-panels succeeded
INFO: hide-artist-card succeeded
INFO: return-youtube-dislike succeeded
INFO: comments succeeded
INFO: hide-email-address succeeded
INFO: tablet-mini-player succeeded
INFO: hide-watermark succeeded
INFO: hide-my-mix succeeded
INFO: old-quality-layout succeeded
INFO: general-ads succeeded
INFO: video-ads succeeded
INFO: hide-infocard-suggestions succeeded
INFO: swipe-controls succeeded
INFO: downloads succeeded
INFO: seekbar-tapping succeeded
INFO: settings succeeded
INFO: custom-video-buffer succeeded
INFO: client-spoof succeeded
INFO: always-autorepeat succeeded
INFO: remember-video-quality succeeded
INFO: minimized-playback succeeded
INFO: custom-playback-speed succeeded
INFO: hdr-auto-brightness succeeded
INFO: Compiling resources
INFO: Writing modified dex files
INFO: Writing dex file classes.dex
INFO: Writing dex file classes3.dex
INFO: Writing dex file classes2.dex
INFO: Writing dex file classes4.dex
INFO: Writing dex file classes5.dex
INFO: Writing dex file classes8.dex
INFO: Writing dex file classes7.dex
INFO: Writing dex file classes6.dex
INFO: Writing resources...
INFO: Aligning output_raw.apk to output_aligned.apk
INFO: Copying output_aligned.apk to output.apk
INFO: Failed to clean up cache directory
INFO: Installing by mounting
11-01 01:13:20.126  9557  9557 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
11-01 01:13:20.133  9557  9557 I AndroidRuntime: Using default boot image
11-01 01:13:20.133  9557  9557 I AndroidRuntime: Leaving lock profiling enabled
INFO: Stopped logging because the app was closed

Screenshots or videos

No response

Solution

As I think this is false warning so just ignore it.

Additional context

Original was for revanced-builder but now I figured out that it's not builder but a CLI bug.

Original thread: https://github.com/reisxd/revanced-builder/issues/533

Acknowledgements

  • [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [X] I filled out all of the requested information in this issue properly.

ViktorVoloshko avatar Oct 31 '22 23:10 ViktorVoloshko