为什么 Android 模拟器这么慢? 我们如何加快 Android 模拟器的速度? [关闭]

I have got a 2.67  GHz Celeron processor, and 1.21  GB of RAM on a x86 Windows XP Professional machine.

My understanding is that the Android Emulator should start fairly quickly on such a machine, but for me, it does not. I have followed all the instructions in setting up the IDE, SDKs, JDKs and such and have had some success in starting the emulator quickly, but that is very rare. How can I, if possible, fix this problem?

Even if it starts and loads the home screen, it is very sluggish. I have tried the Eclipse IDE in version 3.5 (Galileo) and 3.4 (Ganymede).

转载于:https://stackoverflow.com/questions/1554099/why-is-the-android-emulator-so-slow-how-can-we-speed-up-the-android-emulator

csdnceshi55
~Onlooker Was your emulator running an Intel image?
接近 2 年之前 回复
csdnceshi57
perhaps? Nowadays it only takes about 0.5 seconds to boot on Windows (at least for a lot of people I know). Maybe Linux is faster for developing, but atleast not for emulators :)
接近 2 年之前 回复
csdnceshi78
程序go If you can have a SSD hard disk, it would tremendously speed up the Android Studio and the emulator.
接近 3 年之前 回复
csdnceshi75
衫裤跑路 increase your system ram
接近 3 年之前 回复
csdnceshi76
斗士狗 Emulators require at least 1gb ram to run, eclipse need 1gb, XP OS need 256mb! so you should have at least 3 gb ram to run emulator properly, try to build lower version of android on emulator like version 2.3, it will be like 10 times faster than android version 4! On top of that, your cpu is too weak! besides, eclipse is outdated now and in order to use android studio and android 6 emulator try cpu i5 and 8gb ram.
大约 3 年之前 回复
csdnceshi56
lrony* Real Phone device is cheap enough.
3 年多之前 回复
csdnceshi65
larry*wei One way of avoiding confused comments could be to have a little notice box saying the question is older than, say, 2 years old. Tech is changing rapidly, and you would want age to affect rank, even though the question shouldn't be closed/archived as on lesser sites.
3 年多之前 回复
csdnceshi66
必承其重 | 欲带皇冠 i think your ram is very small for an emulator to run faster.
大约 4 年之前 回复
csdnceshi68
local-host A new way introduce by google is Instant run you can check it here stackoverflow.com/a/34511114/2489061
4 年多之前 回复
csdnceshi59
ℙℕℤℝ Android Studio 2.0 is reported to not only have a much faster emulator, but employ "instant run", which allows certain changes in your source, such as the XML, to be deployed in seconds to the target without the APK having to be rebuilt and redeployed. See android-developers.blogspot.co.uk/2015/11/…
4 年多之前 回复
weixin_41568174
from.. alternatives (most featuring more responsive, faster emulation) to the official Android emulator have been documented in this question: stackoverflow.com/questions/13112889/…
4 年多之前 回复
csdnceshi58
Didn"t forge I have found the emulator to run way (and by way I mean waaaay) faster on linux. I've got a laptop with dualboot, on windows the emulator takes about 15 minutes to start up, with linux about 30 seconds. I do not know about other operating systems like OSX, but feels like a windows thing to me.
4 年多之前 回复
csdnceshi72
谁还没个明天 You're much better off using Andy the Android Emulator. GenyMotion locks you out of most features unless you pay $35 a month!
接近 5 年之前 回复
weixin_41568127
?yb? Alternate is Genymotion. genymotion.com. This is much mcuh faster. Straightforward installation.
接近 5 年之前 回复

5个回答

The emulator included in your (old) version of Eclipse is very slow.

Recent emulators are faster than they use to be in 2010. Update your SDK/IDE.

Personally, I use a real phone to do my tests. It is faster and tests are more realistic. But if you want to test your application on a lot of different Android versions and don't want to buy several phones, you will have to use the emulator from time to time.

csdnceshi53
Lotus@ Well compared to how slow they where back in the days they go in lightning speed now.
接近 5 年之前 回复
csdnceshi54
hurriedly% You do realize that both run the same emulator right? android-sdk\tools\emulator-x86.exe, nothing to do with Eclipse, you've probably just started using Intel x86 images with Intel HAXM.
接近 5 年之前 回复
csdnceshi70
笑故挽风 nope, this is not optimized for x86... it emulates x86 phone hardware - while the common phone nowadays easily outperforms the machine in question:)
大约 6 年之前 回复
csdnceshi69
YaoRaoLov - So should my AVD emulate intel instead of ARM for it to load faster ?
6 年多之前 回复
csdnceshi55
~Onlooker vmware runs with unnoticed performance difference compared to the real machine. Even if emulator is emulating ARM it should be faster, even on the same system frequency and my PC is 3.6GHz which is slower than 500 MHz android phone.
8 年多之前 回复

Update

You can now enable Quick Boot option for Android Emulator. That will save emulator state, and it will start emulator quickly on next boot.

Click on Emulator edit button, then click Show Advanced Setting. Then enable Quick Boot like below screenshot.

Quick boot

Android Development Tools (ADT) 9.0.0 (or later) has a feature that allows you to save state of the AVD (emulator), and you can start your emulator instantly. You have to enable this feature while creating a new AVD or you can just create it later by editing the AVD.

Also I have increased the Device RAM Size to 1024 which results in a very fast emulator.

Refer the given below screenshots for more information.

Creating a new AVD with the save snapshot feature.

Android emulator with save snapshot feature.

Launching the emulator from the snapshot.

Launching the emulator from the snapshot.

And for speeding up your emulator you can refer to Speed up your Android Emulator!:

csdnceshi51
旧行李 Also, beware than adding more RAM to your emulator makes you use a "better device" as it will be able to allocate more space before it goes out. If all what is wanted is to test functions of an app, that's ok, but keep in mind that if your app is too memory-intensive, lower devices could not be able to run it.
接近 3 年之前 回复
csdnceshi52
妄徒之命 However, when you choose to save a snapshot, the emulator will be slow to close, so you might want to disable Save to snapshot after you've acquired an initial snapshot (after you close the AVD for the first time).
大约 4 年之前 回复
csdnceshi55
~Onlooker Please try our newly released Android Virtual Machine, called Leapdroid, it's totally free, and compatible with Google's QEMU based emulator, with very fast OpenGL impl. leapdroid.com
大约 4 年之前 回复
weixin_41568183
零零乙 Toos > Android > AVD Manager > Create New Virtual Device > Next > Select hardware > Next > Select System Image > Next > Check Use Host GPU
接近 5 年之前 回复
weixin_41568134
MAO-EYE How do you do it for Android Studio?
接近 5 年之前 回复
weixin_41568183
零零乙 Please refer below answer, it's almost 4 year old trick and not relevant for today.
大约 5 年之前 回复
csdnceshi73
喵-见缝插针 I haven't found that this helps at all. I have a HDD rather than a SDD, though, so maybe this is for users with SSDs.
大约 5 年之前 回复
csdnceshi62
csdnceshi62 This answer and the one mentioning the HAXM really increased the speed. Now it only takes about 10 seconds to load. Great!
大约 5 年之前 回复
weixin_41568126
乱世@小熊 Snapshots aren't supported with GPU emulation. GPU emulation makes the emulator much faster so I recommend it over snapshots. x86 images start up pretty fast with HAXM/KVM
5 年多之前 回复
weixin_41568110
七度&光 Oddly, on my machine (quad core AMD), I've found that reducing RAM makes the emulator faster and increasing RAM slows it down.
接近 6 年之前 回复
weixin_41568183
零零乙 Both options are for speed-up but you can not use both together.
6 年多之前 回复
csdnceshi64
游.程 There is a use host GPU option as well, next to snapshot. It might help as one of the answers mentioned.
6 年多之前 回复
weixin_41568183
零零乙 Msmit1993: You can use Intel x86 based emulator with HAX tool. Believe me you will will be surprised that emulator faster than your actual device.
6 年多之前 回复
csdnceshi79
python小菜 How do you do the "launch options" portion in intellij? I made my emulator "snapshot-enabled" by just clicking snapshot, but the launch options portion (your second picture) is not something I see.
6 年多之前 回复
csdnceshi63
elliott.david I got "Failed to allocate memory" when setting 1024. It also displayed a warning at the bottom of the configuration window saying: "On Windows, emulating RAM greater than 768M may fail dependin..." I Tried setting it to 770, and then it worked. It failed setting it to 800.
接近 7 年之前 回复
weixin_41568196
撒拉嘿哟木头 command line version?
大约 7 年之前 回复
weixin_41568174
from.. Are these two different versions? My Eclipse has Window -> Android SDK Manager and Window -> AVD Manager as separate options. There's nothing that looks like the second dialog in this answer
大约 8 年之前 回复
weixin_41568183
零零乙 Ehrlich : Just go to the Window > Android SDK and AVD Manager and select AVD you want to launch from the list and then click on the Start button in the right pane. It will open the same you want.
8 年多之前 回复
csdnceshi54
hurriedly% I was unable to get to the launch options dialog. How do you open it?
8 年多之前 回复
csdnceshi65
larry*wei For me, its not just the startup speed thats a problem. The environment from Eclipse 3.7 is so slow that mouse clicking seems to have no effect. Often, my Android environment is blank and takes many minutes to show any page change. I have Core2Quad 2.4Ghz, 8GB ram, Ubuntu 11.10 x64.
8 年多之前 回复
weixin_41568183
零零乙 Oh ! i was just thinking that you might be restarting it from command or terminal mode. The way you had mentioned is correct but there may be something else related to your system configuration.
接近 9 年之前 回复
csdnceshi66
必承其重 | 欲带皇冠 so, how to restart the AVD in correct way to use snapshot? (I just right click the Emulator icon in task bar and click 'Quit' and then restart it in AVD manager.)
接近 9 年之前 回复
weixin_41568183
零零乙 When you reboot AVD then it starts from the beginning state rather than the saved snapshot. So probably it will take more time.
接近 9 年之前 回复
csdnceshi66
必承其重 | 欲带皇冠 I set the AVD as this, but seems still slow when I reboot the AVD, why?
接近 9 年之前 回复
weixin_41568184
叼花硬汉 When you update and existing device, wipe the user data on the first startup from snapshot
大约 9 年之前 回复

Try Android x86. It's much faster than the Google Android emulator. Follow these steps:

  1. Install VirtualBox.
  2. Download the ISO file that you need.
  3. Create a virtual machine as Linux 2.6/Other Linux, 512 MB RAM, HD 2 GB. Network: PCnet-Fast III, attached to NAT. You can also use a bridged adapter, but you need a DHCP server in your environment.
  4. Install Android x86 on the emulator, run it.
  5. Press Alt+F1, type netcfg, remember the IP address, press Alt+F7.
  6. Run cmd on your Windows XP system, change the directory to your Android tools directory, type adb connect <virtual_machine_IP>.
  7. Start Eclipse, open the ADT plugin, find the device, and enjoy!
csdnceshi57
perhaps? The native Android emulator now supports x86 images too
接近 3 年之前 回复
csdnceshi78
程序go to get adb connect to work, i had to follow the directions here: stackoverflow.com/a/30002653/1815210
3 年多之前 回复
csdnceshi78
程序go Also I had to navigate to ~\AndroidSDK\platform-tools, NOT ~\AndroidSDK\tools, to find adb.exe
3 年多之前 回复
csdnceshi78
程序go This link shows how to perform step 4: tactig.com/install-android-6-0-marshmallow-virtualbox-pc
3 年多之前 回复
weixin_41568131
10.24 Good idea, but doesn't seem to be working that fast. I've been waiting for 5 minutes for it to boot...
3 年多之前 回复
csdnceshi63
elliott.david Step 4 states Install Android x86 on the emulator, <-- what emulator? should that step be 'install the iso on your VM in VirtualBox' ?
大约 4 年之前 回复
weixin_41568183
零零乙 i changed the network setting to Adapter bridged and the ip changed and worked fine
4 年多之前 回复
weixin_41568208
北城已荒凉 This is very fast on my core i3 system with VT-x in both Windows (with Kaspersky) and Linux (no antivirus, slightly faster). It is as fast as booting it normally
4 年多之前 回复
csdnceshi60
℡Wang Yan Here a video that show you how to do it step by step youtube.com/watch?v=7wIcFiRz76c
5 年多之前 回复
csdnceshi68
local-host if your app have native c/c++ code in it then you need to add line in Application.mk Line: APP_ABI := all or for sake of efficiency append ",x86" at end. Otherwise app will crash or wont deploy
6 年多之前 回复
csdnceshi66
必承其重 | 欲带皇冠 If you're using IntelliJ, use the "Show chooser dialog" to launch into x86.
6 年多之前 回复
csdnceshi59
ℙℕℤℝ Whatever I do and whichever image I use, I cannot get android to see the network. I tried both NAT and bridge, I have DHCP on my network, but nothing works. I can't enable wifi in the android if that matters, and the android would not report its mac address. netcfg does show an address that belongs to my DHCP-enabled network, but I want the built-in browser to work. What do I do now?
6 年多之前 回复
csdnceshi55
~Onlooker FYI, also runs fine in Parallels Desktop
接近 7 年之前 回复
csdnceshi52
妄徒之命 How is the GLES2 support ? Are things forward to the host GPU and running at 60 FPS or very far from it ?
接近 7 年之前 回复
csdnceshi51
旧行李 Android x86 supports Google API? Because my project have maps to be loaded.
接近 7 年之前 回复
weixin_41568127
?yb? use android-x86-4.0-RC2-eeepc.iso, see also android-x86.org/documents/virtualboxhowto
大约 7 年之前 回复
weixin_41568110
七度&光 Cannot enable network. Should it just work?
7 年多之前 回复
csdnceshi64
游.程 I had a problem with the first ISO I tried. If you have the same problem, take a look at superuser.com/questions/410192/…
7 年多之前 回复
csdnceshi79
python小菜 To change screen resolution, for example to 320x480, follow this guide: stackoverflow.com/a/8273560/1208581
7 年多之前 回复
csdnceshi79
python小菜 Howto of the android-x86 project: code.google.com/p/android-x86/wiki/VirtualBoxHowTo @Click-Upvote: They took eeepc ISO.
7 年多之前 回复
csdnceshi72
谁还没个明天 A similar setup that usese bridge mode is discussed here: androiddevnotes.com/2011/03/08/1299521520000.html
接近 8 年之前 回复
csdnceshi67
bug^君 The Intel system image is still extremely slow...
大约 8 年之前 回复
csdnceshi56
lrony* No networking for me either with the asus_laptop image. Is the solution to use the eeepc iso? It isn't clear if that's the solution to the networking.... seems like we should be able to solve this with the asus_laptop image. Anyone?
大约 8 年之前 回复
weixin_41568184
叼花硬汉 With ADT rev 17 Intel acceleration is integrated. See android-developers.blogspot.jp/2012/03/… and developer.android.com/guide/developing/devices/…
8 年多之前 回复
csdnceshi80
胖鸭 It doesn't appear they have a single Google TV image for Android 3.1
8 年多之前 回复
csdnceshi50
三生石@ Hello nice method Could you please me how to set screen size as well thanks,kariyachan
8 年多之前 回复
csdnceshi71
Memor.の also, i had to use NAT, for some reason the 10.* address wasn't working properly for me. then step 7 if you have been using the emulator, open run configurations, target tab, and make sure "Manual" is chosen for target selection mode. then run it and it will prompt you to select a device or AVD.
8 年多之前 回复
csdnceshi71
Memor.の it did the same thing for me when i tried asus laptop, android-x86-2.3-RC1-eeepc.iso worked correctly
8 年多之前 回复
csdnceshi71
Memor.の 127.0.0.1 is "localhost", so you won't be able to use that to connect. you must not have networking working correctly yet.
8 年多之前 回复
csdnceshi76
斗士狗 For me, netcfg is showing lo 127.0.0.1 255.0.0.0 0x00000049 Is here 127.0.0.1 IP which I should mention in adb command ? its showing "unable to connect to 127.0.0.1:5555" Please help.
8 年多之前 回复
csdnceshi77
狐狸.fox I decided to try and install on VMWare. Struggled all day trying to get eth0 to work. Found a developer building VMWare images that work seamlessly... groups.google.com/group/android-x86/browse_frm/thread/…
接近 9 年之前 回复
csdnceshi73
喵-见缝插针 So... how much faster?
接近 9 年之前 回复
csdnceshi62
csdnceshi62 Note that if you are using anything that's specific to ARM (like Mono for Android, for instance), it won't work on Android x86.
接近 9 年之前 回复
csdnceshi70
笑故挽风 Just to remind you guys that you need to enable mouse integration in the device menu if you like to use the mouse in the emulator!
接近 9 年之前 回复
weixin_41568134
MAO-EYE See groups.google.com/group/android-x86/browse_thread/thread/… and groups.google.com/group/android-x86/browse_thread/thread/… for changing screen resolutions.
大约 9 年之前 回复
csdnceshi53
Lotus@ I haven't found an opportunity to change screen orientation. groups.google.com/group/android-x86/browse_thread/thread/… they say that the orientation is probably hardcoded somewhere, and I can't find more information. Let me know if you solve the problem.
大约 9 年之前 回复
weixin_41568174
from.. well, I figured out some of the hardware buttons (below) but I still wish someone would tell me how to change the orientation to portrait mode. Home = Windows key; Back = Esc; Menu = Windows menu key (I had no idea my keyboard had one!); F4 = Reboot options;
大约 9 年之前 回复
weixin_41568174
from.. so I connected. How do I get the screen to be vertical? I also don't see the phone hardware buttons anywhere.
大约 9 年之前 回复

IMPORTANT NOTE: Please first refer to the Intel list about VT to make sure your CPU supports Intel VT.

HAXM Speeds Up the Slow Android Emulator

HAXM stands for - "Intel Hardware Accelerated Execution Manager"

Currently it supports only Intel® VT (Intel Virtualization Technology).

The Android emulator is based on QEMU. The interface between QEMU and the HAXM driver on the host system is designed to be vendor-agnostic.

HAXM

Steps for Configuring Your Android Development Environment for HAXM

  1. Update Eclipse: Make sure your Eclipse installation and the ADT plug-in are fully up-to-date.

  2. Update your Android Tools: After each Eclipse plug-in update, it is important to update your Android SDK Tools. To do this, launch the Android SDK Manager and update all the Android SDK components. To take advantage of HAXM, you must be on at least release version 17.

Enter image description here

  • Download the x86 Atom System Images and the Intel Hardware Accelerated Execution Manager Driver. Follow the image below:

Enter image description here

  • Install the HAXM Driver by running "IntelHaxm.exe". It will be located in one of following locations:

    • C:\Program Files\Android\android-sdk\extras\intel\Hardware_Accelerated_Execution_Manager

    • C:\Users\<user>\adt-bundle-windows-x86_64\sdk\extras\intel\Hardware_Accelerated_Execution_Manager

    If the installer fails with the message that Intel VT must be turned on, you need to enable this in the BIOS. See the description for how to do this in Enabling Intel VT (Virtualization Technology) .

Install .exe or .dmg

  • Create a new x86 AVD: Follow the image below:

Create AVD

  • Or as for new SDK, Enter image description here
weixin_41568174
from.. HAXM has been open sourced: github.com/intel/haxm
2 年多之前 回复
csdnceshi51
旧行李 Running the hardware accelerated images are faster, but they are still slow - very slow. I have pumped 4 gigs of RAM to get it to run at least without having 5 second delays. While it is a speedup to use HAXM, it still requires a massive amount of memory to run near decent
接近 3 年之前 回复
csdnceshi79
python小菜 This solution doesn't work if you need Hyper-V (e.g. for other simulators like Windows Phone 8.1).
4 年多之前 回复
csdnceshi60
℡Wang Yan Anyone who still has trouble installing Haxm even after VT is turned on, read this.
接近 6 年之前 回复
csdnceshi66
必承其重 | 欲带皇冠 One more trick is needed for large screen tablets and phones (else the emulator startup may stream logcat messages for a good part of an hour, then croak): (Step 1) Install HAXM with 2048 MiB of memory. (Step 2) For a large-screen AVD, allocate up to 2048 MiB of memory. Ignore the "Windows can't handle giving it more than 768 MB of memory" warning. (This assumes your computer has like 8+ GB of RAM.)
大约 6 年之前 回复
weixin_41568110
七度&光 For Linux, try software.intel.com/en-us/android/articles/…
大约 6 年之前 回复
csdnceshi52
妄徒之命 This solution will be usable ONNNNLY for a restricted range of CPU's! Not all Intel CPU's! For example my CPU is C2Duo E4600 and doesn't support Intel VT! And many of Intel processors are so. Refer ark.intel.com/Products/VirtualizationTechnology for details.
大约 6 年之前 回复
csdnceshi71
Memor.の Sharma For Linux user KVM. This was a great article: software.intel.com/en-us/android/articles/…
6 年多之前 回复
csdnceshi59
ℙℕℤℝ It's really fast, but cause BSOD when running on windows 8
6 年多之前 回复
weixin_41568126
乱世@小熊 There is now a x86 image with Google API. You may want to update the answer.
6 年多之前 回复
csdnceshi67
bug^君 if your app have native c/c++ code in it then you need to add line in Application.mk Line: APP_ABI := all or for sake of efficiency append ",x86" at end. Otherwise app will crash or wont deploy.
6 年多之前 回复
csdnceshi75
衫裤跑路 - Thanks. It is much faster now, but goddamn phone is locked. Need to make is faster. I will also try dragon fire approach
6 年多之前 回复
csdnceshi53
Lotus@ This works for me: stackoverflow.com/questions/16091677/…
6 年多之前 回复
csdnceshi76
斗士狗 You need to install HAXM manually: stackoverflow.com/questions/10761696/…
6 年多之前 回复
csdnceshi54
hurriedly% I tried but failed. Finally I found a new virtual device should be created instead of editing the existing one, then it works !!
6 年多之前 回复
weixin_41568196
撒拉嘿哟木头 In my windows 7 64b setup, IntelHaxm.exe is in the C:\Users\<user>\AppData\Local\Android\android-sdk\extras\intel\Hardware_Accelerated_Execution_Manager
接近 7 年之前 回复
csdnceshi80
胖鸭 That works great. Thanks a lor for sharing this! When "Use Host GPU" is enabled, the emulator flickers heavily, but also without Host GPU enabled it's really fast now.
接近 7 年之前 回复
weixin_41568208
北城已荒凉 well @Kshitiz Sharma , it DO works on Linux, but you cannot install it via the android manager as is... First you need Quem (via KVM), and then you may use it. I just installed it and voilá, pretty neat! :D look here for mor references: software.intel.com/en-us/blogs/2012/03/12/…
接近 7 年之前 回复
csdnceshi50
三生石@ This worked, but I was stuck for a while on two things: first, "sudo kextunload –b com.intel.kext.intelhaxm" didn't work on my shell (macosx running bash) and I needed to use "sudo kextunload /System/Library/Extensions/intelhaxm.kext" instead when reinstalling the accelerator (I needed to up the RAM to 1536 MB). Second, I tried using an existing virtual device that was set up for acceleration, but it wasn't working; I set up a new one trying to mimic the settings above and that worked great. Initial startup took a few minutes, but after that seconds.
接近 7 年之前 回复
csdnceshi57
perhaps? You are saying API17, but are showing API15..
接近 7 年之前 回复
csdnceshi73
喵-见缝插针 Didn't work for me. Don't know what's wrong on my system. For a moment, I imagined, my emulator on fire... Bad luck..
接近 7 年之前 回复
csdnceshi55
~Onlooker I tried this, but the log said that HAXM failed to start, and still loading slowly... :(
接近 7 年之前 回复
csdnceshi64
游.程 This CPU option will not be available for Google API's. Any suggestions for that?
接近 7 年之前 回复
csdnceshi63
elliott.david Holy smokes, GPU emulation is the answer I have been looking for! The emulator runs perfectly now, and with the x86 image the startup time isn't thaaaaaat bad (still could be better). As @Reda asks, anyone know of a way to get snapshots and GPU enabled?
接近 7 年之前 回复
csdnceshi62
csdnceshi62 Wow, can't thank you enough! Can't believe I was living with the slow emulator all this time. I thought that was normal. I really miss the fast start up times though, isn't there a way to enable snapshot alongside GPU acceleration?
接近 7 年之前 回复
csdnceshi68
local-host What if i have to use Google API because i am running google services on emulator.
接近 7 年之前 回复
csdnceshi72
谁还没个明天 Will this speed up the emulator? Thanks.
大约 7 年之前 回复
csdnceshi58
Didn"t forge Except for issues with ARM / MIPS stuff. This is the best choice I guess.
大约 7 年之前 回复
csdnceshi56
lrony* you can still do native, you just have to set up your build to make binaries for both platforms.
大约 7 年之前 回复
csdnceshi69
YaoRaoLov I guess this changes the processor from ARM to x86? ^_^ so no native / JNI applications, am I right?
大约 7 年之前 回复
csdnceshi78
程序go not able to install Install the HAXM Driver as my pc doesnt support Intel Virtualization Thecnology(VT-x). Any other solution? (not buying a pc jeje)
大约 7 年之前 回复
weixin_41568127
?yb? The Google frameworks are not distributable together with the x86 image because of licensing issues. What you need to do is manually copy the relevant Google library .jar(-s) and permission .xml(-s) from an -armeabi AVD of the corresponding Android version. Search keywords: "google maps library missing android x86 emulator".
大约 7 年之前 回复
weixin_41568131
10.24 How to use this with a Google Api Emulator? I need it because my app uses GCM.
大约 7 年之前 回复
csdnceshi70
笑故挽风 I tried this solution. It worked. However, I installed using MonoDroid and couldn't find IntelHaxm.exe for a minute. It was here: C:\Users\jbarneck\AppData\Local\Android\android-sdk\extras\intel
大约 7 年之前 回复
csdnceshi77
狐狸.fox Doesn't work on Linux.
7 年多之前 回复
csdnceshi65
larry*wei Good write-up. If you're looking for docs from Google (includes a few differences for Mac), they can be found here: developer.android.com/tools/devices/emulator.html#accel-vm
7 年多之前 回复

UPDATE: The latest version of Android studio (2.x) made major improvements to the bundled emulator. It's responsive and has a whole bunch of features.

For those still interested: Try using Genymotion. You can download a version for Windows/Mac OS X/Linux after registering. A plugin for Eclipse is also available:

The installation of the plugin can be done by launching Eclipse and going to "Help / Install New Software" menu, then just add a new Update Site with the following URL: http://plugins.genymotion.com/eclipse. Follow the steps indicated by Eclipse.

This emulator is fast and responsive.

GenyMotion allow you to control various sensors of your device including the battery level, signal strength and GPS. The latest version now also contains camera tools.

csdnceshi52
妄徒之命 I don't want to use the Genymotion. The question is why is the Android Emulator SO SLOW?? I don't know why, a few days ago it was running fast and smooth. Then I restarted my computer and it became extremely slow. It must be some reason for this
大约 3 年之前 回复
csdnceshi78
程序go It's still free for personal use at the moment
3 年多之前 回复
csdnceshi70
笑故挽风 Since Android studio 2 the emulator has been improved ten fold. It has plenty of features and performs well.
3 年多之前 回复
csdnceshi67
bug^君 Genymotion is not free anymore(As it was when I used it last time),Not sure if this is still the best choice for developers
接近 4 年之前 回复
csdnceshi74
7*4 It's fine until you reinstall the VBox or any of the tools they use, then it stops working - uninstall doesn't help. But it was good while it lasted.
4 年多之前 回复
csdnceshi54
hurriedly% Genymotion is so fast, you'll take it for a real device or devices ;)
接近 5 年之前 回复
csdnceshi64
游.程 I wish the votes were re-set so everyone used Genymotion. By far the best emulator out there.
接近 5 年之前 回复
csdnceshi70
笑故挽风 Refer to this answer Play Store License. In short, the Play Store is not licensed to run on the emulator.
大约 6 年之前 回复
weixin_41568208
北城已荒凉 I have tried the solution provided in the following answer. I used it a while ago and it worked fine. stackoverflow.com/questions/20121883/…
大约 6 年之前 回复
csdnceshi80
胖鸭 Newer versions of Genymotion do not include the GooglePlay Services. This link shows how to install them manually: forum.xda-developers.com/showthread.php?t=2528952
大约 6 年之前 回复
csdnceshi57
perhaps? Fastest i ever seen!!
6 年多之前 回复
csdnceshi60
℡Wang Yan This is clearly the best solution. You can also link up this article which serves as a nice introduction.
6 年多之前 回复
csdnceshi76
斗士狗 amazingly fast emulator.
6 年多之前 回复
weixin_41568131
10.24 agreed Genymotion is the best thing I've ever used for android development
接近 7 年之前 回复
csdnceshi59
ℙℕℤℝ Genymotion is by far the best way to develop/test your app. It's not only quicker and better than a traditional emulator. It's quicker than a real device too. I use it for 99.99% of my deployments as it means I can see the results in a fraction of the time. It also means I can use OpenGL ES and other things which are not available on a normal emulator.
接近 7 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问