Stock Music App crashes when I add to Playlist

When I try to add songs to my Playlists the App crashes on my Fairphone 6 using e/os.

It used to work properly, but now I can create Playlists but cannot add anything to them, without the Music App immediately crashing. Any ideas?

the Music app is a fork of Twelve. It’s catalogued in the LineageOS bugtracker - Twelve - Crash upon clicking "Add or remove from playlists" (#10137) · Issues · LineageOS / issues / android · GitLab

from that logcat.txt:

E AndroidRuntime: FATAL EXCEPTION: main
..
E AndroidRuntime: java.lang.ClassCastException:
org.lineageos.twelve.models.Provider cannot be cast to
org.lineageos.twelve.models.ProviderIdentifier

when adding, is there anything special (sdcard or remote file) about the origin of the files?

it does have the music on an SD card, but that was no problem before.

as a crosscheck, can you install Twelve from https://www.sebaubuntu.dev/lineageapps.html and test if the crash occurs in the latest version?

imo there’s a change that looked like it has introduced the error. Will test myself on the weekend

How to install thé .apk on my FP6 e/os phone?

Have downloaded it and when asked to open the file, it suggests 2 apps…

Magic earth

CamScanner…

What did I do wrong?

How to open/install the .apk?

Thanks

Importantly you want to install it rather than open it, consider which app you are using to access the .apk.

There are two key phrases to first check for in Settings

  • Special app access
  • Install unknown apps

Edit, langue française

Which app should I authorize?

Thx

Sorry I imagined it would be striaghtforward, having only just checked, the problem (in my case) is that the download arrived as app-debug.apk.zip so before install the app would require to be unzipped. One could search online for an unzip app / tool perhaps (??)

Later the download was made on a PC, unzipped to app-debug.apk and returned to the phone, in my case SD card. Select the app-debug.apk with Files app. Allow Files app to “Install unknown apps” (a dialog opens on tapping on the file) and then Music, org.lineageos.twelve.dev installs.

gave it a test, adding a song to a newly created playlist crashes in both the /e/OS fork and current dev builds (logcat)

(I install dev apks via adb install - true, it’s harder doing it all on the phone)

I faild to build Twelve myself to do some reverting, but gradlew + android-sdk, I need to refresh on this with a bit more time.

On a phone not updated for a while 3.2-a15-20251024539369-community-ocean the playlist function works, while this dev version fails. I wonder if anyone can tie down more closely the point of fail?

I have given up trying, too much bother. Started using doubleTwist or Musicolet instead – both seems quite capable.

1 Like

yep, as said, it will crash too on latest. I use Vanilla Music. Still worthwhile to track this down and if I get this built I’ll feedback here

1 Like

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