Hey NixOS people,
I recently had to use android-studio for work, but I couldn’t. I am using Hyprland and wanted to start android-studio from the command line. I get a couple warnings but that’s all:
2025-07-18 12:43:07,626 [ 407] WARN - #c.i.s.ComponentManagerImpl - `preload=TRUE` must be used only for core services (service=org.jetbrains.android.AndroidPlugin, plugin=org.jetbrains.android)
2025-07-18 12:43:07,644 [ 425] WARN - c.i.o.u.r.overrides - Conflicting registry key definition for key kotlin.mpp.tests.force.gradle: it was defined by plugin org.jetbrains.kotlin but redefined by plugin org.jetbrains.kotlin. Consider adding overrides="true" for one of the plugins, see the documentation for com.intellij.openapi.util.registry.RegistryKeyBean.overrides for more details.
2025-07-18 12:43:07,645 [ 426] WARN - c.i.o.u.r.overrides - Conflicting registry key definition for key unknown.sdk: it was defined by plugin com.intellij but redefined by plugin org.jetbrains.android. Consider adding overrides="true" for one of the plugins, see the documentation for com.intellij.openapi.util.registry.RegistryKeyBean.overrides for more details.
2025-07-18 12:43:07,647 [ 428] WARN - c.i.o.u.r.overrides - Conflicting registry key definition for key unknown.sdk.auto: it was defined by plugin com.intellij but redefined by plugin org.jetbrains.android. Consider adding overrides="true" for one of the plugins, see the documentation for com.intellij.openapi.util.registry.RegistryKeyBean.overrides for more details.
# ...
# ...
The program does not crash nor does it show any error, it just sits there in the terminal, running, but without a GUI.
I tried using this:
pkgs.android-studio.override { tiling_wm = true; }
which sets an Java env variable for the process but that didn’t help. I also installed KDE Plasma 6 and tried running it there. Same result. Though, I didn’t yet manage to running it XServer (Both Hyprland and Plasma 6 are Wayland)
Does anyone know more?