Current behavior
Crashes instantly after launching.
Expected behavior
UI to at least appear.
Reproduction
Steps to reproduce the behavior:
- Open the app on an Android 8 device;
- Immediately crashes.
Logs
Details
[2026-05-22 19:53:32.696 Uid(value=11229):27017:27017 E/AndroidRuntime]
FATAL EXCEPTION: main
Process: io.github.scovillo.playondlna, PID: 27017
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/WindowInsets$Type;
at io.github.scovillo.playondlna.ui.PlayOnDlnaThemeKt.PlayOnDlnaTheme$lambda$1$lambda$0(PlayOnDlnaTheme.kt:28)
at io.github.scovillo.playondlna.ui.PlayOnDlnaThemeKt.$r8$lambda$UOZ07-8J2xxfRv73uw9cbJyjV0U(Unknown Source:0)
at io.github.scovillo.playondlna.ui.PlayOnDlnaThemeKt$$ExternalSyntheticLambda0.onApplyWindowInsets(D8$$SyntheticClass:0)
at android.view.View.dispatchApplyWindowInsets(View.java:9243)
at android.view.ViewGroup.dispatchApplyWindowInsets(ViewGroup.java:6933)
at android.view.ViewRootImpl.dispatchApplyInsets(ViewRootImpl.java:1613)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1715)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6886)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1029)
at android.view.Choreographer.doCallbacks(Choreographer.java:841)
at android.view.Choreographer.doFrame(Choreographer.java:772)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1015)
at android.os.Handler.handleCallback(Handler.java:794)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6651)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:824)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.WindowInsets$Type" on path: DexPathList[[zip file "/data/app/io.github.scovillo.playondlna-6XKhkuzn7NZwHfl8UEdP2A==/base.apk"],nativeLibraryDirectories=[/data/app/io.github.scovillo.playondlna-6XKhkuzn7NZwHfl8UEdP2A==/lib/arm64, /data/app/io.github.scovillo.playondlna-6XKhkuzn7NZwHfl8UEdP2A==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 20 more
Device information
- Device: (probably any Android 8 to 10 device?)
- OS: Stock Android 8.1
- App Version: 1.9 (latest at the time of writing)
Additional context
Doing a quick Proton Lumo mentions that it's an incompatibility thing (introduced in Android 11 API (30) it thinks) from this class android.view.WindowInsets$Type. Meaning that it perhaps won't even launch on Android 10 and below.
Should the app even be launchable on Android 8 in the first place or will it have to be an Android 11+ app? Is it a bug in the code, or should there be a fallback mechanism to be able to run on Android 10 and below?
I'm hopeful that we'll eventually be able to get it working for everyone that runs Android below 11. (I know I want to!)
Current behavior
Crashes instantly after launching.
Expected behavior
UI to at least appear.
Reproduction
Steps to reproduce the behavior:
Logs
Details
Device information
Additional context
Doing a quick Proton Lumo mentions that it's an incompatibility thing (introduced in Android 11 API (30) it thinks) from this class
android.view.WindowInsets$Type. Meaning that it perhaps won't even launch on Android 10 and below.Should the app even be launchable on Android 8 in the first place or will it have to be an Android 11+ app? Is it a bug in the code, or should there be a fallback mechanism to be able to run on Android 10 and below?
I'm hopeful that we'll eventually be able to get it working for everyone that runs Android below 11. (I know I want to!)