Do you know an Android emulator in Linux?

Hello Friends

Suppose you want play with Termux or JuiceSSH in an isolated environment, therefore not in a real cellphone.

Do you know an Android emulator in Linux? Where it was already tested/used by yourself

Thanks in advance

1 Like

There are emulators… Waydroid, Anbox, Android Studio.
I can not comment, I have not used them.

Qemu can emulate Android, and it is used by Android Studio.
I read that Android Studio is the choice for developers.
It would be interesting to try raw qemu?

This is what I read in an AI summary
" How to Run Android in QEMU:

  1. Download Image: Obtain an Android-x86 ISO image.
  2. Create Virtual Disk: Use qemu-img to create a virtual hard drive (e.g., 5-10 GB).
  3. Run QEMU: Execute QEMU with options to mount the ISO and use the virtual disk, ensuring KVM is enabled for better performance."
3 Likes

As usual Big thanks Neville

Yes, I heard and used years ago “Android Studio” but in Windows and it consumes a lot of RAM so I assumed perhaps in Linux there are more alternatives and with better performance

Thanks for the suggestions, just prior to post this thread I found “Waydroid” but since the experience in this network is gold … well I created this post

QEMU is in my todo list … sadly the tutorials have many variations, even for its installation

Thanks again!

2 Likes

Qemu is a beast… until you get on top of it, then it is a powerful tool.
I am only about 1/3 the way… so it is still a beast for me.

4 Likes

Qemu is a beast… until you get on top of it, then it is a powerful tool.

Its reputation is solid

I am only about 1/3 the way… so it is still a beast for me.

How do you know that? I mean for example why not 2/3?

1 Like

Just a guess , based on what I can do, and what I read others are doing.
It is a bad mistake to learn a little and then think you know everything about a topic.
I made some progress when I was forced to use qemu in NetBSD… it does not have virtmanager.

4 Likes

Android Studio would work, but could be a bit heavy-duty for what you’re after, since it’s a full IDE environment rather than just for emulating exclusively. I’ve always found it really stable right enough (mainly using it at work, am a developer currently) and if you’ve got the resources, it’s pretty plug-and-play to spin up a device?

Suppose it depends what you want to do… Do you want a full system virtualisation or a process/container isolation?

3 Likes

Thanks for the feedback Neville, understood :clinking_beer_mugs:

Hello Frost

Thanks for the reply

Android Studio would work, but could be a bit heavy-duty for what you’re after, since it’s a full IDE environment rather than just for emulating exclusively.

Correct, I am not sure if exists something like VirtualBox but for Android, therefore if is possible get a kind of .iso of Android and run it the “emulator” … so far the QEMU is an option.

I’ve always found it really stable right enough (mainly using it at work, am a developer currently)

Has sense, the IDE and emulator. In this case I only want the latter

and if you’ve got the resources, it’s pretty plug-and-play to spin up a device?

What do you mean? Do the experiments directly in the Cellphone? Has a lot of sense but to do some experiments I want start with the emulator

Suppose it depends what you want to do… Do you want a full system virtualisation or a process/container isolation?

Pls could you indicate me the difference for each bold? … I think my case is a mixture of both

Thanks to all

2 Likes

Ah, I meant more that if you’ve got the computing resources to run Android Studio, then it’s pretty simple to emulate a device using it. You just click a button for whatever device you’re after, and it’s good to go!

Full system virtualisation would also emulate hardware, like VirtualBox does, so your Android would run as a complete virtual machine with its own kernel and virtual devices. Using a container like Waydroid would be a container (not dissimilar to running Docker) that allows you to run Android but inside the Linux kernel rather than emulating separate hardware too.

Can’t speak personally on Waydroid as have only used the Android Studio emulator, but from a cursory browse, it does look like that might achieve what you’re after?

Good luck with your experimenting!

2 Likes