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: (YouTube Music ReVanced) Crashes when Opening Video/Song #4181

Closed
3 tasks done
Real-Yeeted-Bean opened this issue Dec 21, 2024 · 0 comments
Closed
3 tasks done
Labels
Bug report Something isn't working

Comments

@Real-Yeeted-Bean
Copy link

Bug description

The App Crashes when trying to play a Video/Song

Step 1. Open the App
Step 2. Play Video/Song
Step 3. Crash

Applied Patches:

Bypass certificate checks
Enable Android debugging
Enable exclusive audio playback
Export all activities
GmsCore support
Hide 'Get Music Premium' label
Hide category bar
Hide music video ads
Override certificate pinning
Permanent repeat
Predictive back gesture
Remove background playback restrictions
Remove screen capture restriction
Remove screenshot restriction
Remove upgrade button
Spoof client

Error logs

},
      "message": "FATAL EXCEPTION: ExoPlayer:Playback\nProcess: app.revanced.android.apps.youtube.music, PID: 30106\njava.lang.NoClassDefFoundError: Failed resolution of: Lapp/revanced/extension/all/screencapture/removerestriction/RemoveScreencaptureRestrictionPatch;\n\tat auv$$ExternalSyntheticApiModelOutline0.m(D8$$SyntheticClass:29)\n\tat bpa.\u003cinit\u003e(PG:33)\n\tat bpc.a(PG:7)\n\tat cnu.X(PG:11)\n\tat cnu.H(PG:11)\n\tat cnu.y(PG:182)\n\tat cnz.ao(PG:50)\n\tat cts.aa(PG:1229)\n\tat cgv.r(PG:1054)\n\tat cgv.handleMessage(PG:1473)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loopOnce(Looper.java:230)\n\tat android.os.Looper.loop(Looper.java:319)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\nCaused by: java.lang.ClassNotFoundException: Didn\u0027t find class \"app.revanced.extension.all.screencapture.removerestriction.RemoveScreencaptureRestrictionPatch\" on path: DexPathList[[zip file \"/data/app/~~tw3RFqBpJ4_IfcmKRGY_Pg\u003d\u003d/app.revanced.android.apps.youtube.music-42sBgq4m7VuehxHAwhMw6A\u003d\u003d/base.apk\"],nativeLibraryDirectories\u003d[/data/app/~~tw3RFqBpJ4_IfcmKRGY_Pg\u003d\u003d/app.revanced.android.apps.youtube.music-42sBgq4m7VuehxHAwhMw6A\u003d\u003d/lib/arm64, /data/app/~~tw3RFqBpJ4_IfcmKRGY_Pg\u003d\u003d/app.revanced.android.apps.youtube.music-42sBgq4m7VuehxHAwhMw6A\u003d\u003d/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]\n\tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:379)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:312)\n\tat auv$$ExternalSyntheticApiModelOutline0.m(D8$$SyntheticClass:29) \n\tat bpa.\u003cinit\u003e(PG:33) \n\tat bpc.a(PG:7) \n\tat cnu.X(PG:11) \n\tat cnu.H(PG:11) \n\tat cnu.y(PG:182) \n\tat cnz.ao(PG:50) \n\tat cts.aa(PG:1229) \n\tat cgv.r(PG:1054) \n\tat cgv.handleMessage(PG:1473) \n\tat android.os.Handler.dispatchMessage(Handler.java:102) \n\tat android.os.Looper.loopOnce(Looper.java:230) \n\tat android.os.Looper.loop(Looper.java:319) \n\tat android.os.HandlerThread.run(HandlerThread.java:67) "
    },

Solution

Re/Patching the YouTube Music App without the "Remove screen capture restriction" Patch is to be a Temporary Fix for this Bug

Additional context

I think that it's trying to Run the "Remove screen capture restriction" Patch whenever you try to Play a Video/Song, and for some reason, the Patch fails to Run, therefore, Crashing the App

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@Real-Yeeted-Bean Real-Yeeted-Bean added the Bug report Something isn't working label Dec 21, 2024
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