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: YT 19.11.43 crash with 4.8.2 patches (mounted) #3231

Closed
brian6932 opened this issue May 25, 2024 · 12 comments
Closed

bug: YT 19.11.43 crash with 4.8.2 patches (mounted) #3231

brian6932 opened this issue May 25, 2024 · 12 comments
Labels
Bug report Something isn't working

Comments

@brian6932
Copy link

Bug description

title

Error logs

05-25 05:32:41.680 32417 32417 E AndroidRuntime: Process: com.google.android.youtube, PID: 32417
05-25 05:32:41.680 32417 32417 E AndroidRuntime: java.lang.NoSuchMethodError: No static method hideNavigationButtonLabels(Landroid/widget/TextView;)V in class Lapp/revanced/integrations/youtube/patches/NavigationButtonsPatch; or its super classes (declaration of 'app.revanced.integrations.youtube.patches.NavigationButtonsPatch' appears in /data/app/~~Bbf7wy_r5WVvvBOdNVEZbQ==/com.google.android.youtube-BiauaFl0csBBNI5Pmq0e3A==/base.apk!classes6.dex)
05-25 05:32:41.680 32417 32417 E AndroidRuntime:        at com.google.android.libraries.youtube.rendering.ui.pivotbar.PivotBar.b(PG:1)
05-25 05:32:41.687  2754  3420 W ActivityTaskManager:   Force finishing activity com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.InternalMainActivity
05-25 05:32:41.714  2754  3431 D ConnectivityService: releasing NetworkRequest [ REQUEST id=942, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10229 RequestorUid: 10229 RequestorPkg: com.google.android.youtube UnderlyingNetworks: Null] ] (release request)
05-25 05:32:41.715  2754  3431 D ConnectivityService: releasing NetworkRequest [ REQUEST id=944, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10229 RequestorUid: 10229 RequestorPkg: com.google.android.youtube UnderlyingNetworks: Null] ] (release request)
05-25 05:32:41.715  2754  3431 D ConnectivityService: releasing NetworkRequest [ REQUEST id=947, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10229 RequestorUid: 10229 RequestorPkg: com.google.android.youtube UnderlyingNetworks: Null] ] (release request)
05-25 05:32:41.715  2754  3431 D ConnectivityService: releasing NetworkRequest [ REQUEST id=949, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10229 RequestorUid: 10229 RequestorPkg: com.google.android.youtube UnderlyingNetworks: Null] ] (release request)
05-25 05:32:41.715  2754  3431 D ConnectivityService: releasing NetworkRequest [ REQUEST id=951, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10229 RequestorUid: 10229 RequestorPkg: com.google.android.youtube UnderlyingNetworks: Null] ] (release request)
05-25 05:32:41.716  2754  3418 I ActivityManager: Process com.google.android.youtube (pid 32417) has died: fg  TOP
05-25 05:32:41.716  2754  6290 I WindowManager: WIN DEATH: Window{2c48a30 u0 com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.InternalMainActivity}
05-25 05:32:41.717  2754  6290 W InputManager-JNI: Input channel object '2c48a30 com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.InternalMainActivity (client)' was disposed without first being removed with the input manager!
05-25 05:32:41.721  2754  3418 W ActivityManager: Scheduling restart of crashed service com.google.android.youtube/androidx.work.impl.background.systemjob.SystemJobService in 1000ms for connection


### Solution

Disabling the `Navigation buttons` patch makes it no longer crash.

### Additional context

_No response_

### Acknowledgements

- [X] This issue is not a duplicate of an existing bug report.
- [X] I have chosen an appropriate title.
- [X] All requested information has been provided properly.
@brian6932 brian6932 added the Bug report Something isn't working label May 25, 2024
@LisoUseInAIKyrios
Copy link
Contributor

java.lang.NoSuchMethodError: No static method hideNavigationButtonLabels(Landroid/widget/TextView;)V in class Lapp/revanced/integrations/youtube/patches/NavigationButtonsPatch; or its super classes (declaration of 'app.revanced.integrations.youtube.patches.NavigationButtonsPatch' appears in /data/app/~~Bbf7wy_r5WVvvBOdNVEZbQ==/com.google.android.youtube-BiauaFl0csBBNI5Pmq0e3A==/base.apk!classes6.dex)
05-25 05:32:41.680 32417 32417 E AndroidRuntime: at com.google.android.libraries.youtube.rendering.ui.pivotbar.PivotBar.b(PG:1)

You probably are not using the latest integrations

@LisoUseInAIKyrios LisoUseInAIKyrios closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2024
@brian6932
Copy link
Author

Wym? I'm on latest patches afaik

@LisoUseInAIKyrios
Copy link
Contributor

What version integrations did you patch with?

What tool/app did you patch with?

@brian6932
Copy link
Author

What version integrations did you patch with?

Default

What tool/app did you patch with?

ReVanced Manager

@LisoUseInAIKyrios
Copy link
Contributor

The manager from http://ReVanced.app? Or "ReVanced Manager" from a scam site?

Uninstall everything (Manager, RV YT) and start over. It looks like it has an old integrations file.

@brian6932
Copy link
Author

brian6932 commented May 25, 2024

From http://revanced.app/ I built it myself with flutter+dart. I have no issues with any other patches.

@LisoUseInAIKyrios
Copy link
Contributor

The error logs show a missing integrations (the method was added with release 1.9.1)

Somehow you are patching with an outdated or incorrect integrations.

@brian6932
Copy link
Author

Yea I'm far past 1.9.1.

@LisoUseInAIKyrios
Copy link
Contributor

LisoUseInAIKyrios commented May 25, 2024

I would try patching using CLI and the release files (don't compile anything from scratch).

But I can't give any other advise. The logs show an integration method is missing, but the latest integrations release has that method.

So something is not right with whatever patching setup you have.

@oSumAtrIX
Copy link
Member

Looks like a cache issue in ReVanced Manager. Deleting app data should work

@brian6932
Copy link
Author

Also getting (w/o the module mentioned prior).

FATAL EXCEPTION: yt-critical Thread #2
Process: com.google.android.youtube, PID: 5936
java.lang.NoSuchMethodError: No static method newPlayerResponseSignature(Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String; in class Lapp/revanced/integrations/youtube/patches/VideoInformation; or its super classes (declaration of 'app.revanced.integrations.youtube.patches.VideoInformation' appears in /data/app/~~Bbf7wy_r5WVvvBOdNVEZbQ==/com.google.android.youtube-BiauaFl0csBBNI5Pmq0e3A==/base.apk!classes5.dex)
	at agax.b(Unknown Source:6)
	at agax.c(PG:8)
	at adpz.run(PG:25)
	at ayvl.run(PG:2)
	at akvo.run(PG:24)
	at qgh.run(PG:30)
	at java.lang.Thread.run(Thread.java:1012)
	at qhz.run(PG:6)

How do you see the integration version in RVM?

@oSumAtrIX
Copy link
Member

This isn't a patches bug. For support, move to one of our links at https://revanced.app.

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

3 participants