Skip to content

bug(YouTube Music): App crashes when including Hide action bar components patch #2584

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

Closed
8 tasks done
kljjh opened this issue Dec 21, 2024 · 1 comment
Closed
8 tasks done
Labels
Bug report Something isn't working

Comments

@kljjh
Copy link

kljjh commented Dec 21, 2024

Type

Error at runtime

Tools used

RVX Manager

Application

YouTube Music v7.16.53

Bug description

App crashes immediately when I start to play a music.

S41221-22135901.mp4

Error logs

12-21 21:38:52.856 32049 32049 E AndroidRuntime: Caused by: java.lang.NoSuchMethodError: No static method inAppDownloadButtonOnClick(Landroid/view/View;)V in class Lapp/revanced/extension/music/patches/actionbar/ActionBarPatch; or its super classes (declaration of 'app.revanced.extension.music.patches.actionbar.ActionBarPatch' appears in /data/app/~~qQPLzzxt90WXXyARYTrLVQ==/app.rvx.android.apps.youtube.music-zZWuKqJyto2DSGnEH1qZSg==/base.apk!classes4.dex)
12-21 21:39:01.987 32366 32366 E AndroidRuntime: bndw: The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | java.lang.NoSuchMethodError: No static method inAppDownloadButtonOnClick(Landroid/view/View;)V in class Lapp/revanced/extension/music/patches/actionbar/ActionBarPatch; or its super classes (declaration of 'app.revanced.extension.music.patches.actionbar.ActionBarPatch' appears in /data/app/~~qQPLzzxt90WXXyARYTrLVQ==/app.rvx.android.apps.youtube.music-zZWuKqJyto2DSGnEH1qZSg==/base.apk!classes4.dex)

Solution

Exclude Hide action bar components patch

Additional context

It seems not happened in former version of revanced patches because I just repatched ytm today, then the error occured. Before that I use the patched ytm normally.

Device Environment

No response

Acknowledgements

  • This issue does not reproduce on unpatched YouTube or YT Music.
  • This issue is not a duplicate of an existing bug report.
  • I did not use any settings marked as Experimental Flags.
  • I did not use pre-release (dev branch).
  • I have patched the APK according to the documentation.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • I have written the title and contents in English.
@kljjh kljjh added the Bug report Something isn't working label Dec 21, 2024
@inotia00 inotia00 changed the title bug: YTM crashes when playing music bug(YouTube Music): App crashes when including Hide action bar components patch Dec 21, 2024
inotia00 added a commit to inotia00/revanced-patches that referenced this issue Dec 22, 2024
@inotia00
Copy link
Owner

reflected in revanced-patches-5.1.2

MasterZeeno pushed a commit to MasterZeeno/Zee-Lite-Modules that referenced this issue Mar 26, 2025
- Patch version: v5.3.1

# Changelogs

- bumped YouTube Music base version to v8.02.53 ( for android 8+ )
- Added support for v7.16.53 , v6.42.55 (A7+) , v6.20.51 (A5-6+)
- feat(YouTube Music - Navigation bar components): Add Enable custom navigation bar color setting, Remove Set navigation bar to black setting
- fix(YouTube Music - Disable dislike redirection): Patch not working in 8.02.53
- fix(YouTube Music - Disable music video in album): App crashes on Android 5 / 6 devices
- feat(YouTube Music - Spoof streaming data): Remove Android Creator and iOS Music, add Android Music (Close inotia00/ReVanced_Extended#2617)
- fix(YouTube Music - Player components): Restore old comments popup panels not working
- fix(YouTube Music - Spoof streaming data): Last selected value is not remembered in ListPreference Dialog
- fix(YouTube Music - Spoof streaming data): Sometimes the app crashes when connected to Wi-Fi
- fix(YouTube Music): App crashes when including Hide action bar components patch inotia00/ReVanced_Extended#2584
- feat(YouTube Music): Add Disable DRC audio patch inotia00/ReVanced_Extended#2552
- feat(YouTube Music): Add Spoof streaming data patch
- feat(YouTube Music - Hide action bar components): Limit the available versions of the Override Download action button setting to 7.16.53
- feat(YouTube Music - Hide player flyout menu): add Hide Speed dial menu setting #104
- feat(YouTube Music - Spoof client): Add Use old client setting and Default client setting
- fix(YouTube Music - Hide action bar components): Hide Download button setting not working
- fix(YouTube Music - SponsorBlock): Change segment behavior and About sections are hidden in the settings inotia00/ReVanced_Extended#2575
- feat(YouTube Music/Translations): update translation

# Version Comparison

- v6.20.51 : For Android 5-6 users
- v6.42.55 : For Android 7 users
- v7.16.53 : This Last version which supports all the RVX features
- v8.02.53 : Latest version of YouTube Music For Android 8+ users. Everything works fine on this version except these settings : Hook/Override Download Button , Remember Shuffle State , Spoof App version inotia00/ReVanced_Extended#2554 ( check this more details )

**Thanks to @inotia00**
MasterZeeno pushed a commit to MasterZeeno/Zee-Lite-Modules that referenced this issue Mar 26, 2025
- Patch version: v5.3.1

# Changelogs

- bumped YouTube Music base version to v8.02.53 ( for android 8+ )
- Added support for v7.16.53 , v6.42.55 (A7+) , v6.20.51 (A5-6+)
- feat(YouTube Music - Navigation bar components): Add Enable custom navigation bar color setting, Remove Set navigation bar to black setting
- fix(YouTube Music - Disable dislike redirection): Patch not working in 8.02.53
- fix(YouTube Music - Disable music video in album): App crashes on Android 5 / 6 devices
- feat(YouTube Music - Spoof streaming data): Remove Android Creator and iOS Music, add Android Music (Close inotia00/ReVanced_Extended#2617)
- fix(YouTube Music - Player components): Restore old comments popup panels not working
- fix(YouTube Music - Spoof streaming data): Last selected value is not remembered in ListPreference Dialog
- fix(YouTube Music - Spoof streaming data): Sometimes the app crashes when connected to Wi-Fi
- fix(YouTube Music): App crashes when including Hide action bar components patch inotia00/ReVanced_Extended#2584
- feat(YouTube Music): Add Disable DRC audio patch inotia00/ReVanced_Extended#2552
- feat(YouTube Music): Add Spoof streaming data patch
- feat(YouTube Music - Hide action bar components): Limit the available versions of the Override Download action button setting to 7.16.53
- feat(YouTube Music - Hide player flyout menu): add Hide Speed dial menu setting #104
- feat(YouTube Music - Spoof client): Add Use old client setting and Default client setting
- fix(YouTube Music - Hide action bar components): Hide Download button setting not working
- fix(YouTube Music - SponsorBlock): Change segment behavior and About sections are hidden in the settings inotia00/ReVanced_Extended#2575
- feat(YouTube Music/Translations): update translation

# Version Comparison

- v6.20.51 : For Android 5-6 users
- v6.42.55 : For Android 7 users
- v7.16.53 : This Last version which supports all the RVX features
- v8.02.53 : Latest version of YouTube Music For Android 8+ users. Everything works fine on this version except these settings : Hook/Override Download Button , Remember Shuffle State , Spoof App version inotia00/ReVanced_Extended#2554 ( check this more details )

**Thanks to @inotia00**
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