inotia00 / ReVanced_Extended

ReVanced Extended Issues/Request repo
734 stars 29 forks source link

bug: Revanced manager app failed to compile Revanced Extended #251

Closed tyw7 closed 1 year ago

tyw7 commented 1 year ago

Type

Error while patching

Application

Revanced manager v0.0.56 YouTube 18.06.35

Bug description

Can't compile the revanced app.

Steps to reproduce

1) Compile the app

Relevant log output

Initializing installer
    Creating working directory
    Copying original apk
    Unpacking input apk
    Reading dex files
    Decoding AndroidManifest.xml only, because resources are not needed
    Merging integrations
    Deleting existing resource cache directory
    Decoding resources
    Applied client-spoof
    Applied custom-branding-icon-revancify
    Applied custom-branding-name
    Applied custom-seekbar-color
    Applied custom-video-speed
    Failed to apply default-video-quality: 'default-video-quality' depends on 'default-video-quality-bytecode-patch' but the following error was raised: Failed to resolve VideoQualitySetterFingerprint
    Failed to apply default-video-speed: 'default-video-speed' depends on 'default-video-speed-bytecode-patch' but the following error was raised: Failed to resolve VideoSpeedChangedFingerprint
    Applied disable-haptic-feedback
    Applied enable-external-browser
    Applied enable-minimized-playback
    Applied enable-old-layout
    Applied enable-old-quality-layout
    Applied enable-open-links-directly
    Applied enable-seekbar-tapping
    Failed to apply enable-tablet-miniplayer: 'enable-tablet-miniplayer' depends on 'enable-tablet-miniplayer-bytecode-patch' but the following error was raised: Failed to resolve MiniPlayerOverrideFingerprint
    Applied enable-wide-searchbar
    Applied force-vp9-codec
    Applied header-switch
    Applied hide-auto-captions
    Applied hide-auto-player-popup-panels
    Applied hide-autoplay-button
    Applied hide-button-container
    Applied hide-cast-button
    Applied hide-channel-watermark
    Applied hide-comment-component
    Applied hide-create-button
    Applied hide-crowdfunding-box
    Applied hide-email-address
    Applied hide-endscreen-cards
    Applied hide-endscreen-overlay
    Applied hide-filmstrip-overlay
    Applied hide-flyout-panel
    Applied hide-general-ads
    Applied hide-info-cards
    Applied hide-mix-playlists
    Applied hide-pip-notification
    Applied hide-player-captions-button
    Applied hide-player-overlay-filter
    Applied hide-shorts-button
    Applied hide-shorts-component
    Applied hide-startup-shorts-player
    Applied hide-stories
    Applied hide-suggested-actions
    Applied hide-time-and-seekbar
    Failed to apply hide-video-ads: 'hide-video-ads' depends on 'hide-video-ads-bytecode-patch' but the following error was raised: 'hide-video-ads-bytecode-patch' depends on 'general-video-ads-patch' but the following error was raised: Failed to resolve MainstreamVideoAdsFingerprint
    Applied layout-switch
    Applied materialyou
    Failed to apply microg-support: 'microg-support' depends on 'microg-support-bytecode-patch' but the following error was raised: java.lang.NullPointerException
    at app.revanced.shared.util.microg.MicroGBytecodeHelper.returnEarly(MicroGBytecodeHelper.kt:221)

    at app.revanced.shared.util.microg.MicroGBytecodeHelper.patchBytecode(MicroGBytecodeHelper.kt:104)

    at app.revanced.patches.youtube.misc.microg.bytecode.patch.MicroGBytecodePatch.execute(MicroGBytecodePatch.kt:45)

    at app.revanced.patches.youtube.misc.microg.bytecode.patch.MicroGBytecodePatch.execute(MicroGBytecodePatch.kt:19)

    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:335)

    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:308)

    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:37)

    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:355)

    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)

    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)

    at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$20(MainActivity.kt:327)

    at app.revanced.manager.flutter.MainActivity.$r8$lambda$VzOqgSVOualTn6WBlAKw3muxHF8(Unknown Source:0)

    at [app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda13.run](https://app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda13.run)(Unknown Source:24)

    at [java.lang.Thread.run](https://java.lang.Thread.run)([Thread.java:1012](https://Thread.java:1012))
    Applied optimize-resource
    Applied overlay-buttons
    Applied patch-options
    Applied remove-player-button-background
    Failed to apply return-youtube-dislike: 'return-youtube-dislike' depends on 'return-youtube-dislike-bytecode-patch' but the following error was raised: Failed to resolve LikeFingerprint
    Applied settings
    Applied sponsorblock
    Applied swipe-controls
    Applied theme
    Applied translations
    Repacking patched apk
    Compiling resources
    Writing modified dex files
    Finished!

​

Screenshots or videos

No response

Solution

No response

Additional context

No response

Device Environment

No response

Acknowledgements

ILoveOpenSourceApplications commented 1 year ago

Using a non recommended version of YouTube. Please use the recommended version and report back.

tyw7 commented 1 year ago

Weird the old version parched successfully.