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: hide-premium-navbar patch failed #2016

Closed
3 tasks done
nikhilbadyal opened this issue Oct 1, 2022 · 1 comment
Closed
3 tasks done

bug: hide-premium-navbar patch failed #2016

nikhilbadyal opened this issue Oct 1, 2022 · 1 comment
Labels
Bug report Something isn't working

Comments

@nikhilbadyal
Copy link

nikhilbadyal commented Oct 1, 2022

Type

Error while patching

Bug description

As the title says hide-premium-navbar fails while compiling apk

Steps to reproduce

  1. Download Latest Integration (0.46.2)
  2. Download Latest CLI (2.13.0
  3. Download the latest Patches(2.77.1)

Try to Build. Spotify

More logs here here

Relevant log output

SEVERE: hide-premium-navbar failed: 
revanced-builder | app.revanced.patcher.patch.PatchResultError
revanced-builder | 	at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:290)
revanced-builder | 	at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:46)
revanced-builder | 	at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:384)
revanced-builder | 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
revanced-builder | 	at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
revanced-builder | 	at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
revanced-builder | 	at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:24)
revanced-builder | 	at app.revanced.cli.command.MainCommand.run(MainCommand.kt:157)
revanced-builder | 	at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
revanced-builder | 	at picocli.CommandLine.access$1300(CommandLine.java:145)
revanced-builder | 	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
revanced-builder | 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
revanced-builder | 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
revanced-builder | 	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
revanced-builder | 	at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
revanced-builder | 	at picocli.CommandLine.execute(CommandLine.java:2078)
revanced-builder | 	at app.revanced.cli.main.MainKt.main(Main.kt:7)
revanced-builder | Caused by: java.lang.NullPointerException
revanced-builder | 	at app.revanced.patches.spotify.premium_navbar_tab.patch.PremiumNavbarTabPatch.execute(PremiumNavbarTabPatch.kt:36)
revanced-builder | 	at app.revanced.patches.spotify.premium_navbar_tab.patch.PremiumNavbarTabPatch.execute(PremiumNavbarTabPatch.kt:21)
revanced-builder | 	at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:286)
revanced-builder | 	... 16 more

Screenshots or videos

No response

Solution

No response

Additional context

2022-10-01 06:55:07.429 | DEBUG | main:run:335 - INFO: Decoding resources
revanced-builder |
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/notification_bg_normal_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/card_frame_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/notification_bg_normal_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/notification_bg_low_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/notification_bg_normal.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/notification_bg_normal.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/card_frame.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/card_frame.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/card_frame_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/notification_bg_normal_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/notification_bg_low_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/common_google_signin_btn_text_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/bg_tab_focused.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/notification_bg_low_normal.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/common_google_signin_btn_text_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_text_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/card_frame_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/notification_bg_low_pressed.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/notification_bg_low_normal.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-hdpi-v4/notification_bg_normal.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/notification_bg_low_normal.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-mdpi-v4/common_google_signin_btn_text_light_normal_background.9.png". Renaming it to *.png.
revanced-builder | WARNING: Cant find 9patch chunk in file: "drawable-xhdpi-v4/card_frame.9.png". Renaming it to *.png.

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@nikhilbadyal nikhilbadyal added the Bug report Something isn't working label Oct 1, 2022
@nikhilbadyal
Copy link
Author

Same as #621

@revanced-bot revanced-bot transferred this issue from ReVanced/revanced-patches-template Dec 14, 2023
@oSumAtrIX oSumAtrIX transferred this issue from another repository Dec 14, 2023
Slenderman00 pushed a commit to Slenderman00/revanced-patches-grindr that referenced this issue Jan 31, 2024
# [2.172.0-dev.2](ReVanced/revanced-patches@v2.172.0-dev.1...v2.172.0-dev.2) (2023-04-29)

### Bug Fixes

* **youtube/minimized-playback:** fix background play of kids videos ([ReVanced#2016](ReVanced/revanced-patches#2016)) ([89b1484](ReVanced/revanced-patches@36617f2))
Slenderman00 pushed a commit to Slenderman00/revanced-patches-grindr that referenced this issue Jan 31, 2024
# [2.172.0](ReVanced/revanced-patches@v2.171.0...v2.172.0) (2023-05-01)

### Bug Fixes

* **change-package-name:** use `null` as default value for option `packageName` ([ReVanced#1998](ReVanced/revanced-patches#1998)) ([8128e6b](ReVanced/revanced-patches@b58ff28))
* **youtube/minimized-playback:** fix background play of kids videos ([ReVanced#2016](ReVanced/revanced-patches#2016)) ([89b1484](ReVanced/revanced-patches@36617f2))
* **youtube/return-youtube-dislike:** support older UI layouts ([ReVanced#2031](ReVanced/revanced-patches#2031)) ([c82ccb5](ReVanced/revanced-patches@59978b6))
* **youtube/spoof-app-version:** adjust available app targets ([ReVanced#2030](ReVanced/revanced-patches#2030)) ([a16cb0d](ReVanced/revanced-patches@1647a2e))

### Features

* **youtube/general-ads:** hide multiple audio track button on video player overlay ([ReVanced#2021](ReVanced/revanced-patches#2021)) ([8d7f305](ReVanced/revanced-patches@a768ca9))
* **youtube/hide-get-premium:** hide get premium advertisements under video player ([ReVanced#2020](ReVanced/revanced-patches#2020)) ([05904a2](ReVanced/revanced-patches@98d6b87))
* **youtube/hide-player-overlay:** exclude by default ([1c6fb94](ReVanced/revanced-patches@a9168aa))
* **youtube/spoof-app-version:** user selectable version to spoof ([ReVanced#2013](ReVanced/revanced-patches#2013)) ([fd66417](ReVanced/revanced-patches@f04a341))
* **youtube/spoof-signature-verification:** list known spoofing side effects in revanced settings ([ReVanced#2011](ReVanced/revanced-patches#2011)) ([dc6e9b2](ReVanced/revanced-patches@617169a))
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

1 participant