• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android Emulator?

xarzu

Newbie
It is time to start testing my app. If I am on a laptop that for some reason refused to recognize my Andrid plugged in, or if for some reason a phone is not handy, is there an emulator available? I am guessing there might not be one.
 
Last edited:
I found that Android Studio has "virtual devices" I picked one but it made Virtual Box VM crash.
 
I found that Android Studio has "virtual devices" I picked one but it made Virtual Box VM crash.

OK, I can't really help with that problem. Maybe someone else can assist? I'm not a dev, and I've never used Android Studio. But an Android emulator like Bluestacks on a computer, should be able to install and run the app APKs that you've built.
 
Bluestacks is probably the most popular Android emulator for computers. bluestacks.com And I have used it myself on MacBooks.
Is it just for Windows computers? Will it run on Ubuntu?
Check my blog or the official Android development website for some step-by-step guides about how to create an AVD (Android Virtual Device).
Thanks James. I am on a Ubuntu machine and have gotten to the point now where I am creating AVD's but when I run them they stop right away with a message that they have stopped. I have tested some ARM images (you see them when you click on the "Other Images" when you select a system image). And I tried your tutorial. I picked Phone, Pixel 2, Q, x86_64, 1080x1920, 420dpi, Q, API Level = 29, ABI = x86, Target = Android 10.0. I can see it trying to load but it terminated after a few seconds. Any idea how to trouble shoot it? Is there a log file I can consult?
error_virtual_machine.png
 
Last edited:
Is the free space on your disk enough?
Update SDK tools which have available updates.

In addition, have you configured hardware acceleration for your Android Emulator?
https://developer.android.com/studio/run/emulator-acceleration
I don't have the hardware for emulator acceleration. And the ARM emulated images close upon launching. There are security blocks on the that computer and I think the admin might have been agressive in blocking emulation.

I managed to pair a different computer to a device via wifi. I will give that a try for a while.
 
Back
Top Bottom