linux - android studio avd 中的模拟器在 Pop 中非常慢! _os

标签 linux flutter android-studio ubuntu avd

我最近安装了 Linux Pop! _OS 20.04 LTS 发行版在 Flutter 中开发。一切都很好,除了 AVD 模拟器,它非常慢。会是什么呢?
我有一个 16gb 的戴尔内存,i5 第 8 代和 256 个 ssd。

最佳答案

我在 POP OS 21.10(Intel® Pentium(R) Gold G5420 CPU @ 3.80GHz × 4, 8 single channel ram)上,首先我需要应用以下指令 https://developer.android.com/studio/run/emulator-acceleration?utm_source=android-studio#vm-linux ,对于我的用例( flutter ),我将内存增加到 3gb,VM 堆增加到 512mb,在图形选项上选择硬件 GLES 2.0,然后它运行平稳,如果你使用 genymotion,你可以增加虚拟机上的 VRAM。 enter image description here

关于linux - android studio avd 中的模拟器在 Pop 中非常慢! _os,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67180784/

相关文章:

linux - 如何从 inode /路径名中找到一个 dentry?

database - Flutter:共享偏好或速度范围模型

php - 在 linux cli 中延迟执行我的 php 代码

linux - Linux 中的文件系统

database - 让 webview 在 flutter 上使用某些触发器更改数据

android - 如何解决这个 "Cannot enable MyLocation layer as location permissions are not granted"?

Android Studio模拟器: VK_VERSION_1_1 check failed

android - 升级到Android Studio后出现异常 141.1972460

java - android studio design 和 v7 中的导入错误 - Android Studio -

c++ - 尝试使用 Qt 和 OpenCV 从高清网络摄像头获取 1080p 实时视频只能获取 480p