[Magisk] Deses:
I'm having trouble after reinstalling Vanced after I had to remove it temporarily. It force closes every time I try to open it, I see the splash screen and then, crashes.

I already tried to remove Vanced from Magisk, and after rebooting I deleted the folder /system/app/YouTube with its contents, reboot and reinstall the Magisk module and it didn't work.

Attached is the logcat but here are some highlights:

[05-29 04:47:57.978 559:559 E/ANDR-IOP]
IOP HAL: Received pkg_name = com.google.android.youtube pid = -1

[05-29 04:47:57.978 559:630 E/ANDR-IOP]
is_in_recent_list is TRUE

[05-29 04:47:57.978 559:630 E/ANDR-IOP]
io prefetch is deactivate

[05-29 04:47:57.982 1209:1304 D/RestartProcessManager]
increase duration : 1062 for com.teslacoilsw.launcher

[05-29 04:47:57.992 1209:1304 D/RestartProcessManager]
Update Total Launch Times :com.google.android.youtube

[05-29 04:47:57.992 1209:1304 D/RestartProcessManager]
updateSelf : com.google.android.youtube, size : 30

[05-29 04:47:57.992 560:560 E/ANDR-PERF-MPCTL]
hint lookup failed

[05-29 04:47:57.992 1209:1304 D/RestartProcessManager]
Increase Total Launch Time : com.google.android.youtube, times : 3, index : 29

[05-29 04:47:57.992 1209:1304 D/RestartProcessManager]
Last Running Package : com.google.android.youtube , start time 1559098077992

[05-29 04:47:57.992 1209:6164 D/EmbryoManager]
Embryo claimed. com.google.android.youtube, pid=13674

[05-29 04:47:57.993 560:560 E/ANDR-PERF-MPCTL]
hint lookup failed

[05-29 04:47:57.997 13674:13674 W/asset]
Asset path /system/app/YouTube/Youtube.apk is neither a directory nor file (type=1).

[05-29 04:47:57.997 13674:13674 E/ResourcesManager]
failed to add asset path /system/app/YouTube/Youtube.apk

[05-29 04:47:57.998 13674:13674 D/AndroidRuntime]
Shutting down VM

[05-29 04:47:57.998 13674:13674 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: com.google.android.youtube, PID: 13674
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference
at android.app.ActivityThread.updateLocaleListFromAppContext(ActivityThread.java:5643)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5905)
at android.app.ActivityThread.-wrap1(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1756)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6798)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

[05-29 04:47:57.998 13674:13674 E/AndroidRuntime]
Attempt to invoke virtual method 'android.content.Context android.app.Application.getApplicationContext()' on a null object reference

[05-29 04:47:58.003 1209:2002 W/ActivityManager]
Force finishing activity com.google.android.youtube/.app.honeycomb.Shell$HomeActivity

[05-29 04:47:58.006 1209:1304 D/RestartProcessManager]
Duration is too short, ignore : 12 in com.google.android.youtube

[05-29 04:47:58.007 1209:1305 I/ActivityManager]
Showing crash dialog for package com.google.android.youtube u0