Supposing we have an open source android app, (how) could one convert it to a linux distro package? (Like for debian, nixos, etc.)

Android is essentially a linux distro if I get it correctly, a heavily modified one.

Many android apps are written with java and the newer ones tend to go with kotlin, which I think should be able to run cross-platform.

Would hard of an attempt would this be?

Edit: Thank you people! From what I gather android is very far from the rest of linux distros (practically having in common only a few parts of the kernel) and the fact that apps tend to be written in java/kotlin doesnt have much of a difference if they are not built in a way that makes the cross-platform compatible (like godot engine does). Those apps will probably need to do many system calls to the android OS, soI can’t just compile them for a different architecture. I’d either need an android translation layer or an emulator to run them.

Unrelated, but cool to see some familiar usernames:)

  • Flax@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    Roblox doesn’t have native linux support? Is understandable for Minecraft bedrock as Microsoft are [censored] but the lackthereof on roblox is interesting

    • f4f4f4f4f4f4f4f4@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      They go out of their way to block Linux. There was “Vinegar” bootstrapper, then “Grapejuice”, leading to the current closed-source “Sober” client that streamlines running Roblox for ARM Android on x86_64 Linux PC.