Android Studio 3.0.1. Very slow work on Android emulator

Windows 10 (64 bit)

Processor: Intel Core 3.10 GHz

RAM 8 GB

Android Studio 3.0.1

Java 1.8

Gradle 4.1.

In c: \ Users \ myuser.AndroidStudio3.0 \ studio64.exe.vmoptions

# custom Android Studio VM options, see https://developer.android.com/studio/intro/studio-config.html
-server
-Xms256m
-Xmx3g
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djna.nosys=true
-Djna.boot.library.path=

-da

In gradle.properties :

org.gradle.jvmargs=-Xmx1536m

When I run my application on the device ---> everything works fine. Nice.

But when I run this emulator ( API 27 ): avd

all work very slowly .

Here is my task manager (when the emulator was launched).

taskmanager

As you can, ONLY 638 MB is available.

How can i fix this?

+4
source share
3 answers

Check sdkit uses ! Intel HAXM

http://joxi.ru/Vm6oZpbcxWZZN2

RAM VM Heap, Emulated Performance Graphics Automatic

enter image description here

- API 27, , Google Pixel.

0

, Android Emulator SDK. , HAXM 4 . AVD 2 512 .

enter image description here

0

Nothing helps. Only after updating the RAM to 16 GB did the problem disappear.

0
source

Source: https://habr.com/ru/post/1691198/


All Articles