
Then reload the AVD, the HAXM would run correctly, and the speed will improved efficiently. When the installer prompted to adjust the max memory size, set it to a number bigger than 1536MB, such as 2048MB. Android Studio emulation Installation Completed and then click on Next. Android studio setup start menu, click next. Select the browse button if you want to install Android Studio to a different location or Keep the default settings and then click on next. So you could adjust the HAXM max memory configuration by running the HAXM installer again. Select Android Studio components you want to install and then click on Next. In your case, it seems that your HAXM memory configuration(max 1024MB) cannot fullfill the AVD(1536MB) according to the screenshot. Installed programs: - Java Development Kit 'jdk1.7.0 55' (automatically installed by Visual Studio) - Java Development Kit 'jdk1.8. This saved my life and I almost gave up on Xamarin. Only deployable projects have the option. Then go 'Project > projectproperties' in the left pane choose 'Configuration Properties > Configuration' Now check the Deploy feature if possible. What's more, you can try to use GenyMotion instead of the original AVD.įinally, running apps on your real device will offer you a more efficiency way to test the code. In Visual studio, make sure you choose the solution file (not project files) in the solution explorer. Also, installing HAXM will help accelerate the speed.


If your machine use a particular type of Intel x86 CPU, then set your virtual device's CPU to x86 architecture). The emulator will be able to restore the memory in this state without booting the device.īesides, when you create a new virtual device, you can set its CPU type similar to your development machine(e.g. This will save a snapshot of what the memory looks like when the device is running. Maybe you can try to use an emulator snapshot.To use a snapshot with your device, open the AVD manager from the Android Studio menu by selecting Tools→Android→AVD Manager, edit the AVD by clicking on the Edit symbol, then check the “Store a snapshot for faster startup” option.
