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 ReVanced crash at startup #2931

Closed
3 tasks done
cj81499 opened this issue Mar 27, 2024 · 2 comments
Closed
3 tasks done

bug: YouTube ReVanced crash at startup #2931

cj81499 opened this issue Mar 27, 2024 · 2 comments
Labels
Bug report Something isn't working

Comments

@cj81499
Copy link

cj81499 commented Mar 27, 2024

Bug description

Using latest revanced manager and latest default patches, Samsung Galaxy S21.

Error logs

03-27 18:20:22.992 32732 32732 D AndroidRuntime: Shutting down VM
03-27 18:20:22.992 32732 32732 E AndroidRuntime: FATAL EXCEPTION: main
03-27 18:20:22.992 32732 32732 E AndroidRuntime: Process: app.revanced.android.youtube, PID: 32732
03-27 18:20:22.992 32732 32732 E AndroidRuntime: java.lang.NoSuchMethodError: No static method setContext(Landroid/content/Context;)V in class Lapp/revanced/integrations/shared/Utils; or its super classes (declaration of 'app.revanced.integrations.shared.Utils' appears in /data/app/~~VgJxuVC7m85V89vhkmrTbg==/app.revanced.android.youtube-yNrtaq2zYhRgE-rX59uSLA==/base.apk!classes7.dex)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at ajmv.onCreate(Unknown Source:0)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at fxf.e(PG:2)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at fxh.h(PG:7)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at fxf.onCreate(PG:18)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1316)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7685)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:230)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:319)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8893)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
03-27 18:20:22.992 32732 32732 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

Solution

No response

Additional context

I saw ReVanced/GmsCore#8 and #2907 (comment), but I already have the "stock" YouTube app installed.

Acknowledgements

  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
@cj81499 cj81499 added the Bug report Something isn't working label Mar 27, 2024
@oSumAtrIX
Copy link
Member

The method is present but you may be using old integrations. Reinstall ReVanced Manager or force it to redownload the patches and integrations by resetting the API.

@oSumAtrIX oSumAtrIX closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2024
@cj81499
Copy link
Author

cj81499 commented Mar 27, 2024

Reinstalling ReVanced Manager and repatching worked.

Thank you for the VERY fast response and your work on the ReVanced project. Take care!

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