Questions tagged [emulation]

For questions about emulation and emulators, where a computer program is emulating (imitating) the behavior of another program or hardware device.

An emulator is a system which is designed to perform the duties of a different system. An emulator is distinct from a simulator (an emulator is intended to replicate the external behaviour of a system, whereas a simulator replicates the internal behaviour). See:

Emulators are commonly used to allow programs written for one system to be run on a different system. This is desirable when developing for a wide variety of target platforms, or when maintaining old programs designed for deprecated hardware.

One type of emulator that emulates a computer is called a . These are used by companies so they can tests their apps on the emulator rather than on an actual hardware.

Examples of some emulators:

Questions in this tag should relate in some way to the implementation or usage of a computer system which is an emulator.

4400 questions
20
votes
5 answers

Android emulator system partition no space from start

I have a weird problem with the Android emulator. I have created a virtual device through Android AVD manager (newly created emulator with platform 2.1 and API level 7). I have tried with standard settings and with added hardware parameter for…
Svullo
  • 544
  • 1
  • 4
  • 8
20
votes
3 answers

Android Emulator Jenkins Plugin not working

I am trying to use the Jenkins Android Emulator with Cloudbees and I am often experiencing this kind of output: error: device offline $ /opt/android/android-sdk-linux/platform-tools/adb connect localhost:44194 $…
valentina
  • 631
  • 7
  • 9
20
votes
18 answers

Is it possible to develop for the iPhone without an iPhone?

I know there are emulators, but is this good enough? If someone is serious about iPhone development, do they absolutely need an iPhone?
Brian R. Bondy
  • 339,232
  • 124
  • 596
  • 636
19
votes
7 answers

D/EGL_emulation time messages in Flutter

I receive multiple messages of the following kind when I do anything in Android emulator in the flutter app D/EGL_emulation(6380): app_time_stats: avg=1505.58ms min=1505.58ms max=1505.58ms count=1 What is it?
alessio toesca
  • 201
  • 1
  • 2
  • 3
19
votes
1 answer

Is it possible for other x86-64 emulators on M1 to leverage the same optimizations used by Rosetta 2?

I am curious about the vastly different performance characteristics of running x86-64 binaries on the Apple M1 platform using Rosetta 2 vs. emulation, for example what Docker Desktop currently does using QEMU. I understand why emulation is so slow,…
NReilingh
  • 1,730
  • 17
  • 32
19
votes
7 answers

What is the smallest, simplest CPU that GCC can compile for?

In terms of instruction set and simplicity of emulation. I would like to implement a virtual CPU and figured why not emulate an existing one, so to be able to compile C code to it.
Tamás Szelei
  • 23,169
  • 18
  • 105
  • 180
19
votes
4 answers

Android ScrollView adds extra padding on top and bottom of child imageview

I have a problem with rendering a ScrollView. Essentially, the layout is fixed header and footer with a scrollview in the middle. The idea is that when the screen keyboard is activated for the content EditText the image can be scrolled if the height…
Bobby Sciacchitano
  • 851
  • 1
  • 10
  • 19
19
votes
5 answers

DDMS showing empty file explorer for online emulator

I am facing this problem from many day,i searched a lot but not found any convenient answer. Whenever I start a emulator ,after some time when I see DDMS its show the emulator online but its File Explorer is show nothing . Its visible again when I…
GOLDEE
  • 2,318
  • 3
  • 25
  • 49
19
votes
3 answers

Android: Using a tablet to emulate other devices?

I'm thinking of investing in a Google Nexus 10 as my tablet of choice for testing my apps on - I just wondered is it possible to emulate other devices screen resolutions? As the nexus 10 has such a high res and DPI, I would like to be able to run…
Zippy
  • 3,826
  • 5
  • 43
  • 96
19
votes
2 answers

Android webcam enable in emulator

Hai I am new to the Android. I am using Android4 sdk. I can't enable webcam in Android emulator. Can anyone tell how enable it. Thanks.
Karthi
  • 203
  • 1
  • 2
  • 4
19
votes
4 answers

Android: Android 4.1 Emulator Invoking onDateSet Twice from DatePicker Dialog

My application was working perfectly on my Android 2.2 emulator. I then decided to test on an Android 4.1 emulator. The DatePickerDialog looks a little different and for some reason when I press on "Done", the onDateSet() listener gets called twice…
Nouran H
  • 1,992
  • 5
  • 18
  • 24
18
votes
6 answers

Pasting text into Android emulator clipboard using adb shell

I need to paste text into the Android emulator clipboard using adb shell. tried on Android 1.6 and 2.3.1 I tried to use adb shell command: clipboard:[android.text.iclipboard] "service call clipboard" where service codes are 1, 2, and 3, for…
Raptorion
  • 181
  • 1
  • 1
  • 5
18
votes
3 answers

How to emulate the Raspberry Pi 2 on QEMU?

Some time ago I emulated the Raspberry Pi following this article, but this approach has several problems: It is very slow. The display solution is limited to 800x600. You cannot emulate more than 256mb ram. Furthermore there is no emulation for…
Phidelux
  • 2,043
  • 1
  • 32
  • 50
18
votes
3 answers

Round Android Wear Emulator is Square

The title and picture say it all--my round android wear emulator shows the rect layout. I'd appreciate any tips that help me get the round emulator to show the correct interface. Created AVD using instructions from: Android Documentation Android…
KevinTydlacka
  • 1,263
  • 1
  • 15
  • 30
18
votes
5 answers

How can I simulate different types of load in an Android device?

I'm trying to test my app's behavior in various situations like let's say there's a lot of RAM and CPU being used or network being consumed by some other apps or battery being drained away by another. Now, what I've is let's say I want (100-X)% of…
VoodooChild92
  • 1,993
  • 3
  • 19
  • 24