I’ve exported my YouTube subscriptions and wanted to import them into my Libretube app but I either get an error message or the app crashes entirely. The same happens when trying to import Playlists. Importing the files into the browser application works flawlessly tho. This is the Error code:

java.lang.NoSuchMethodError: No interface method toList()Ljava/util/List; in class Lj$/util/stream/Stream; or its super classes (declaration of 'j$.util.stream.Stream' appears in /data/app/~~X1qaQlhfc9JkZkcTaoameg==/com.github.libretube-p9t_x1HW3bAWaxML57rr8A==/base.apk!classes2.dex)
	at okio.Path$Companion.getChannelsFromUri(SourceFile:79)
	at okio.Path$Companion.importSubscriptions(SourceFile:2)
	at com.github.libretube.ui.preferences.BackupRestoreSettings$getSubscriptionsFile$1$1.invokeSuspend(SourceFile:39)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
	at kotlinx.coroutines.DispatchedTask.run(SourceFile:116)
	at androidx.work.Worker$2.run(SourceFile:53)
	at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1b31de, Dispatchers.IO]
    
    • Waluigi@feddit.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Thank you for your reply! Ok, I’ve been on 0.17.0 before and after updating the Subscriptions seem to be imported correctly. However, now I have a different issue: no videos load. Neither Homepage, Subscriptions or Library work, they’re stuck on an endless loading screen. The subscriptions still can’t be imported either:

      java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
      	at java.util.ArrayList.get(ArrayList.java:437)
      	at okio.Path$Companion.importPlaylists(SourceFile:315)
      	at com.github.libretube.ui.preferences.BackupRestoreSettings$getPlaylistsFile$1$1$1.invokeSuspend(SourceFile:39)
      	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
      	at kotlinx.coroutines.DispatchedTask.run(SourceFile:116)
      	at androidx.work.Worker$2.run(SourceFile:53)
      	at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3)
      	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
      	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@a70f7cc, Dispatchers.IO]
          
      
  • Waluigi@feddit.deOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Btw I absolutely love Libretube app. It’s got everything it needs, starts quickly and isn’t overcrowded with useless UI elements unlike the YouTube app. Many thanks to the Dev :). I’ll definitely switch to Libretube completely when YouTube adblocks stop working on Firefox