Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Speed up the android emulator time

Is there a way to make the android emulator time go faster? eg. 10x.

I need this for testing purposes.

EDIT: i run my emulator on 4ghz with haxm and gpu emulation enabled, so the speed nor smoothness of the emulator itself is not of a problem. instead, id like to know, how can i make the time in the virtual machine going faster, literally, how to make the minutes passing faster than real :). the thing is i would like to simulate whole day for my app.

like image 207
user847765 Avatar asked Feb 11 '13 08:02

user847765


People also ask

Why is my Android emulator so slow?

Android Emulator runs slowly after an update If your machine has both an Intel HD 4000 GPU and a discrete GPU, disable the Intel HD 4000 GPU in Device Manager to ensure you are using the discrete GPU. Try running the emulator using the -gpu angle , -gpu swiftshader , or -gpu guest modes.

Why does emulator take so long to start?

Google emulator uses ARM opcode, a kind of machine language. It must convert from ARM opcode to Intel opcode. That's why it's slow. The problem seems not to be RAM but CPU.


1 Answers

The closest i can think of for you to do this is to change the date and time, to do this you can run the date command on the phone. To do this you will have to run the following command:

adb shell date -s "yyyymmdd.[[[hh]mm]ss]"

like image 111
Paul Harris Avatar answered Oct 11 '22 12:10

Paul Harris