19
submitted 2 days ago* (last edited 2 days ago) by BlastboomStrice@mander.xyz to c/android@lemdro.id

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:)

you are viewing a single comment's thread
view the rest of the comments
[-] bjoern_tantau@swg-empire.de 3 points 2 days ago

I think this depends on too many factors to give general advice. Android is very different from other Linux distros because they share almost none of the supporting libraries and software. Even the Linux Kernel they share is heavily modified.

The are many apps that are made for both Linux and Android but I think they have to be built with portability in mind for that to work. Godot for instance can make Linux, Windows, Mac OS and Android packages.

On the other side there are Sober for Roblox and the Minecraft Bedrock Launcher that use the respective Android packages and make them run on Linux. But they are specialised for Roblox and Minecraft and don't work on all Android packages.

[-] Flax_vert@feddit.uk 2 points 2 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 1 points 4 hours 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.

[-] bjoern_tantau@swg-empire.de 2 points 2 days ago

Yeah, and they specifically block Wine from running Roblox.

this post was submitted on 30 Mar 2025
19 points (80.6% liked)

Android

18761 readers
98 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

🔗Universal Link: !android@lemdro.id


💡Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: !askandroid@lemdro.id

For fresh communities, lemmy apps, and instance updates: !lemdroid@lemdro.id

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 2 years ago
MODERATORS