Plexamp crash when showing visualisers

Hello,

Great work with the new Plexamp. I have it on my phone and it’s working great. However, I just tried to install it on my car stereo running android 8 oreo and the app is crashing if I tap on the cover art in order to switch to visualisers. It works fine there as well otherwise.

Here are the logs:

plexamp_logs.zip (43.6 KB)

@elan Could you please bring this to the devs attention? I have tried to install Android 8,9 and 10 on my car and they all crash! The logs dont seem to show anything related to WebGL and WebGL is working fine using chrome the stereo. Anything that I could try in order to help solve this?

Thanks in advance

@elan Sorry to bother you again but I’ve identified and fixed the issue.

I was able to read the logcat from the device and I got the following error:

java.lang.RuntimeException: createContext failed: EGL_BAD_CONFIG

I then decompiled the plexamp APK and according to a stackoverflow post, the cause of this was the order of 2 method calls:

setEGLContextClientVersion()

and

setEGLConfigChooser()

The calls on the official apk are oposite. You need to set the client version first before you set a config. I have created a fixed apk now for my needs but please incorporate this fix on your next release so I won’t have to reverse engineer every time you make a new release.

Thanks in advance

2 Likes

Honestly, my mind is blown, super impressive. I’ll of course incorporate the fix, for which I am deeply appreciative.

Feel free to reach out any time in the future if you have any questions or feedback!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.