我怎样才能加快我的电脑进行 Android 开发 ft. Android studio
现在您可以很容易地注意到,当我为 Android 开发设置 Android studio 时,我是应用程序开发路径的新手,我发现我的电脑需要特定的要求(硬件)才能启动,
但我有桌面 CPU:酷睿2双核 内存:4GB HDD:500 GB
这已经一周了,我只运行一些基本应用程序,但为基本应用程序执行此操作非常头疼,因为我的 android studio 每分钟都会挂起并开始滞后,我无法打开 chrome,那里充满了与我相关的问题的仓库pc 因为 android studio
任何人都知道任何黑客或通过我的提示,你可以随意使用它。
Now you can easily notice I am new on app development path when I am setting up Android studio for Android development I find that my pc need specific requirements (Hardware) to start
But I have desktop that
CPU : Core 2Duo
RAM : 4 GB
HDD : 500 GB
It's been week when I just run some basic apps but it's very headache to do it for basics app because my android studio every minute got hang and start lagging I can't open chrome there full of warehouse of my problems related to pc because of android studio
Anyone know any hacks or by tips for me you can feel free for it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
坦率地说:这些规格根本不足以进行任何严肃的现代开发。如果您可以将HDD替换为SSD(即使是小而便宜的SSD)将是最高优先级,而更多的内存是其次的。更好的 CPU 显然会有所帮助,但这是一种奢侈,其他两项更重要。
假设这不是一种选择,您可以执行以下两件事之一:
Putting it bluntly: those specs are simply not enough to do any serious modern development. If you could replacing the HDD with an SSD (even a small, cheap one) would be the highest priority and more memory is second. A better CPU would obviously help, but it's a luxury, the other two items are more important.
Assuming that's not an option, you can do either of those two things:
我能想到的唯一技巧是:
确保您没有为 Android Studio + Java 安装或 AS 工作区使用远程安装的文件系统或“共享”。
关闭(退出)所有其他使用大量 RAM 的应用程序;例如您的网络浏览器、电子邮件工具、Slack、Zoom 等。
如果您使用的是 Windows,请切换到 Linux。
更好的想法:获得更好的开发机器。我认为 RAM 是最重要的,因为听起来你的机器正在崩溃。
The only hacks I can think of are:
Make sure you are not using a remote mounted file system or "share" for either your Android Studio + Java installation or your AS workspace.
Shutoff (quit) all other applications that are using significant amounts of RAM; e.g. your web browsers, your email tool, Slack, Zoom, etc.
If you are using Windows, switch to Linux.
Better idea: get a better development machine. I think that the RAM is most important, because it sounds like your machine is thrashing.
这可能看起来不公平,但 Android Studio 并不真正适合在低端设备上运行。它曾经在我的配备 Core i7 和 8GB RAM 的设备中出现滞后/挂起的情况。您能做的最好的事情就是使用 SSD 而不是 HDD。内存较小的 SSD 通常很便宜,仅此一点就可以在一定程度上减少 Android Studio 的问题。
It may seem unfair but Android Studio is not really suitable to run in a lower end device. It used to lag/hang in my device with Core i7 and 8GB Ram. The best thing you can do is to use an SSD instead of HDD. SSDs with smaller memory are often cheap and this alone can somewhat lessen your problems with Android Studio.
我认为你应该将 HDD 更改为 240 GB SSD,它会正常工作
i think you should change your HDD to 240 GB SSD and it will works fine