198
submitted 5 months ago by mfat@lemdro.id to c/linux@lemmy.ml

I used to hate android emulators, since the ones I'd tested on Windows were ad-ridden, slow bloatware.

The other day I needed to run an android app on Fedora 40.

I tried Waydroid and it worked very well. The app ran supersmooth as if it was running natively.

Also the cli syntax was very sane an user friendly.

waydroid app install|run|list ...

So if you need an Android app on linux the experience might be better than what you think it would be.

you are viewing a single comment's thread
view the rest of the comments
[-] GolfNovemberUniform@lemmy.ml 56 points 5 months ago

I think a part of your positive experience is also thanks to Linux. Android emulation works better on it because the difference between Linux and Android is not that big and definitely not as big as between Windows and Android. Though Waydroid rocks anyways

[-] d_k_bo@feddit.de 28 points 5 months ago

The documentation says:

Waydroid uses Linux namespaces (user, pid, uts, net, mount, ipc) to run a full Android system in a container and provide Android applications on any GNU/Linux-based platform.

To my understanding this isn't even emulation but regular container technology.

[-] alteredEnvoy@sopuli.xyz 9 points 5 months ago

Wouldn't some Android Apps require specific builds for x86 architectures? Does Android take care of that?

[-] progandy@feddit.de 16 points 5 months ago

If you need arm, then you probably have to install libhoudini https://github.com/casualsnek/waydroid_script

[-] Quackdoc@lemmy.world 5 points 5 months ago

libhoudini is optimized for Intel, NDK for AMD, but some apps may be incompatible with one or the other.

[-] Zangoose@lemmy.one 9 points 5 months ago

A lot of android apps are built using Java/Kotlin, so you don't actually need to care about architecture since the JVM supports both x86_64 and arm64.

There are exceptions to this though, since some apps need to run native code. Those apps would need some sort of emulation/translation layer for the arm instructions.

[-] Quackdoc@lemmy.world 5 points 5 months ago

most android apps are architecure agnostic "java, kotlin etc" and even apps that are often ship "Universal binaries" which include x86, or split builds for arm and x86

load more comments (2 replies)
load more comments (17 replies)
this post was submitted on 11 May 2024
198 points (100.0% liked)

Linux

47952 readers
1488 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS