Youtube app crashes since 3.2-a15, and can't be installed through AppLounge

The Youtube app was working fine in versions <=3.1.x on a FP5.

After the upgrade to /e/OS 3.2-a15-20251022539003-official-FP5 (which also upgraded AOSP base from 13 to 15), it crashes on every launch. I see the following in adb logcat:

11-08 18:57:31.068  6712  6712 W ziparchive: Unable to open '/data/app/~~xQ9A0nynTnUSViRyDygb8g==/com.google.android.youtube-qZFrnjZCMRaBsOvKhhb5mQ==/split_config.arm64_v8a.dm': No such file or directory
11-08 18:57:31.068  6712  6712 W ziparchive: Unable to open '/data/app/~~xQ9A0nynTnUSViRyDygb8g==/com.google.android.youtube-qZFrnjZCMRaBsOvKhhb5mQ==/split_config.arm64_v8a.dm': No such file or directory
11-08 18:57:31.069  6712  6712 W android.youtube: Entry not found
11-08 18:57:31.069  6712  6712 W ziparchive: Unable to open '/data/app/~~xQ9A0nynTnUSViRyDygb8g==/com.google.android.youtube-qZFrnjZCMRaBsOvKhhb5mQ==/split_config.fr.dm': No such file or directory
11-08 18:57:31.069  6712  6712 W ziparchive: Unable to open '/data/app/~~xQ9A0nynTnUSViRyDygb8g==/com.google.android.youtube-qZFrnjZCMRaBsOvKhhb5mQ==/split_config.fr.dm': No such file or directory
11-08 18:57:31.069  6712  6712 W android.youtube: Entry not found
11-08 18:57:31.069  6712  6712 W ziparchive: Unable to open '/data/app/~~xQ9A0nynTnUSViRyDygb8g==/com.google.android.youtube-qZFrnjZCMRaBsOvKhhb5mQ==/split_config.xxhdpi.dm': No such file or directory
11-08 18:57:31.069  6712  6712 W ziparchive: Unable to open '/data/app/~~xQ9A0nynTnUSViRyDygb8g==/com.google.android.youtube-qZFrnjZCMRaBsOvKhhb5mQ==/split_config.xxhdpi.dm': No such file or directory
11-08 18:57:31.070  6712  6712 W android.youtube: Entry not found

(…)

11-08 18:57:31.200  6712  6731 W ContextImpl: Failed to ensure /data/user/10/com.google.android.gms/shared_prefs: mkdir failed: ENOENT (No such file or directory)

(…)

11-08 18:57:31.206  6712  6712 E TransactionExecutor: Failed to execute the transaction: tId:159741012 ClientTransaction{
11-08 18:57:31.206  6712  6712 E TransactionExecutor: tId:159741012   transactionItems=[
11-08 18:57:31.206  6712  6712 E TransactionExecutor: tId:159741012     LaunchActivityItem{activityToken=android.os.BinderProxy@904452d,intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.youtube/.app.honeycomb.Shell$HomeActivity },ident=18632405,info=ActivityInfo{cd9dfdc com.google.android.youtube.app.honeycomb.Shell$HomeActivity},curConfig={1.0 208mcc15mnc [fr_FR] ldltr sw408dp w408dp h900dp 480dpi nrml long hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1224, 2700) mAppBounds=Rect(0, 0 - 1224, 2700) mMaxBounds=Rect(0, 0 - 1224, 2700) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.577 fontWeightAdjustment=0},overrideConfig={1.0 208mcc15mnc [fr_FR] ldltr sw408dp w408dp h900dp 480dpi nrml long hdr widecg port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1224, 2700) mAppBounds=Rect(0, 0 - 1224, 2700) mMaxBounds=Rect(0, 0 - 1224, 2700) mDisplayRotation=ROTATION_0 mWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2 fontWeightAdjustment=0},deviceId=0,referrer=null,procState=2,state=null,persistentState=null,pendingResults=null,pendingNewIntents=null,sceneTransitionInfo=null,profilerInfo=null,assistToken=android.os.BinderProxy@ea6e329,shareableActivityToken=android.os.BinderProxy@fb66ae,activityWindowInfo=ActivityWindowInfo{isEmbedded=false, taskBounds=Rect(0, 0 - 1224, 2700), taskFragmentBounds=Rect(0, 0 - 1224, 2700)}}
11-08 18:57:31.206  6712  6712 E TransactionExecutor: tId:159741012     ResumeActivityItem{mActivityToken=android.os.BinderProxy@904452d,procState=-1,isForward=true,shouldSendCompatFakeFocus=false}
11-08 18:57:31.206  6712  6712 E TransactionExecutor: tId:159741012     Target activity: com.google.android.youtube.app.honeycomb.Shell$HomeActivity
11-08 18:57:31.206  6712  6712 E TransactionExecutor: tId:159741012   ]
11-08 18:57:31.206  6712  6712 E TransactionExecutor: tId:159741012 }
11-08 18:57:31.206  6712  6712 D AndroidRuntime: Shutting down VM
11-08 18:57:31.206  6712  6712 E AndroidRuntime: FATAL EXCEPTION: main
11-08 18:57:31.206  6712  6712 E AndroidRuntime: Process: com.google.android.youtube, PID: 6712
11-08 18:57:31.206  6712  6712 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.youtube/com.google.android.apps.youtube.app.watchwhile.MainActivity}: java.lang.NullPointerException
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4206)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4393)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:222)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:133)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:103)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2773)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:109)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:232)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:317)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8934)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: Caused by: java.lang.NullPointerException
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at j$.util.concurrent.ConcurrentHashMap.f(r8-map-id-242c378700e310ac08a51509489c06bb7b13dbbf668e1f51178662d634f84993:195)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at j$.util.concurrent.ConcurrentHashMap.putAll(r8-map-id-242c378700e310ac08a51509489c06bb7b13dbbf668e1f51178662d634f84993:37)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at rlj.c(PG:116)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at rlj.a(PG:62)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at rld.b(PG:3)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at afnx.b(PG:12)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at yzg.t(PG:4)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at gyv.i(PG:2528)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at gyv.md(PG:52)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at hhs.g(PG:14)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at gyv.d(PG:2139)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at gyv.md(PG:27)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at com.google.android.apps.youtube.app.watchwhile.MainActivity.p(PG:959)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at fg.a(PG:22)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at py.onCreate(PG:28)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at cb.onCreate(PG:1)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at hnb.onCreate(PG:80)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at pbe.onCreate(PG:1)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at pdc.onCreate(PG:254)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at com.google.android.apps.youtube.app.watchwhile.MainActivity.onCreate(PG:23)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:9079)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:9057)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1535)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4188)
11-08 18:57:31.206  6712  6712 E AndroidRuntime: 	... 13 more
11-08 18:57:31.207  1561  2629 I AttributionAndPermissionUtils: checkPermission (forDataDelivery 0 startDataDelivery 0): Permission hard denied for client attribution [uid 1010029, pid 6712, packageName "<unknown>"]
11-08 18:57:31.207  6712  6780 W GooglePlayServicesUtil: Google Play services out of date for com.google.android.youtube.  Requires 254505000 but found 250932019
11-08 18:57:31.209  1336  6786 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
11-08 18:57:31.209  1336 18329 W ActivityTaskManager:   Force finishing activity com.google.android.youtube/.app.honeycomb.Shell$HomeActivity
11-08 18:57:31.210  2363  2398 V WindowManagerShell: Transition requested (#1787): android.os.BinderProxy@6432368 TransitionRequestInfo { type = CLOSE, triggerTask = null, pipChange = null, remoteTransition = null, displayChange = null, flags = 16, debugId = 1787 }
11-08 18:57:31.211  1200  1263 I BpBinder: onLastStrongRef automatically unlinking death recipients: 
11-08 18:57:31.214  6712  6780 W ziparchive: Unable to open '/data/user/10/com.google.android.youtube/cache/1761251759789.dm': No such file or directory

If I uninstall the app, AppLounge and Aurora store refuse to reinstall it. Aurora says my device is not compatible.

It’s possible to workaround that issue by spoofing the device in Aurora settings: choosing another device (like a Pixel 9a) allows to reinstall the app. It works for some time, but crashes again later during the same day.

NB: I know there are open-source alternatives like NewPipe, but the user needs the official app to upload/stream/manage content of a Youtube channel

4 Likes

Regarding the (re-)installation issue of the App, it seems to be already tracked on gitlab: App Lounge cannot show or install many "common" apps (#8738) · Issues · e / Backlog · GitLab, with the same device spoofing workaround

It can be installed from App lounge on Pixel 7 with 3.2 but crashes on launch. Worked fine on previous version of e/OS.

1 Like

I’ve created a ticket on gitlab: Youtube app crashes since 3.2-a15 (#9007) · Issues · e / Backlog · GitLab

I know, but see the end of my original post in this thread

This app does not seem to crash any more. Both on 3.2-a15 and 3.3-a15.

Probably an update of the app itself?

@kallekn do you see the same behavior?

1 Like

Yes, it’s working again. Not that I care much now, Newpipe is better.

:grinning_face:

Why use YouTube when there are many alternatives?

I explained why at the end of my original post, above

1 Like

Why not just you a PC or laptop with a Google account if you want to upload to YouTube? Your using a de-googled smart phone, issues are bound to arise…

To me, it’s not an “all or nothing”.

You can’t expect people to directly jump from proprietary software/service with trackers to free software/service with no trackers. It’s not realistic for most people, and can discourage them from doing any first step.

Most people I help switching to /e/OS still need to use WhatsApp for example. I can’t blame them: it’s complicated and takes time to get rid of it. Most of them do not even succeed. But at least they drastically reduce the amount of trackers, and use some other GAFAM alternatives.

It’s the same for the user I mentioned here: he’s a youtuber. He knows about Peertube, he even tested it. But he can’t quit that ecosystem like that. And he won’t, in the foreseeable future. The official youtube app allows him to live stream from the smartphone itself, which is not possible (to my knowledge) with NewPipe or other alternatives. He has 2 different users on his phone (setup in Settings app, under System category) : the regular one with personal data, and a second one dedicated to youtube stuff. It’s crucial to him that google apps work in the dedicated user. But the other one is really de-googled.

To me, all the google apps need to work properly on /e/OS. And they usually do. Because there are (unfortunately) use-cases where it’s still relevant.

This topic was automatically closed after 60 days. New replies are no longer allowed.