加速安卓模拟器

Speed up Android emulator(加速安卓模拟器)
本文介绍了加速安卓模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我阅读了许多其他主题,Android 模拟器启动速度非常慢.事实上,开始需要 +15 分钟.但是,即使在那之后,在我的机器上也很慢.

I read on many other topics that the Android emulator starts really slow. Indeed, it takes +15 mins to start. However, on my machine is slow even after that.

电话"响应延迟 3-4 秒,一切都有很大的延迟.

The 'phone' responds with a 3-4 seconds delay and everything has a huge lag.

有什么办法可以提高我的笔记本电脑(华硕1201N)的性能,安卓模拟器太生锈了?

Is there any way to improve the performance of my laptop (Asus 1201N) is too rusty for the Android emulator?

PS:在不同的模拟器分辨率下试过,结果是一样的

PS: Tried in different emulator resolutions and the result is the same

我的笔记本电脑有 2 个超线程内核.它在设备管理器中显示为 4 CPU.然而,当使用模拟器时,只有一张图是 100%.我可以做点什么让它多核工作吗?

My laptop has 2 cores with HyperThreading. And it shows as 4 CPU in Device Manager. However, when using the emulator, just one of the graphs is at 100%. Can I do something to make it work multi core?

推荐答案

你有没有勾选禁用启动动画"?

Do you have "Disable Boot Animation" checked?

另外,如果这不能解决问题,那么有帮助的一件事是,您在编写代码时实际上不必关闭模拟器屏幕.如果您在它已经打开时单击调试,您的 APK 将被上传到模拟器并立即启动.出于某种原因,我花了一段时间才弄清楚我不必手动关闭模拟器.

Also, if that doesn't fix it, one thing that helps is that you never actually have to close the emulator screen while you're coding. If you click debug when it's already open, your APK will get uploaded to the emulator and start pretty much immediately. For some reason it took me a while to figure out that I didn't have to manually close the emulator.

这篇关于加速安卓模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)