skip to Main Content

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.

4

Answers


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
  3. i think you should change your HDD to 240 GB SSD and it will works fine

    Login or Signup to reply.
  4. 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:

    • don’t use an IDE (or at least a more light-weight one, such as VS Code) and build your software from the command line. This will be more painful (especially when you’re just starting) and even then the resource requirements of the build will be non-trivial.
    • Make sure to do as little as possible on your local machine. If you have a decent internet connection, then you might be better off developing on a free remote cloud computer and use something like Projector to show the UI in the browser. I’ve found this repo with instructions on how to use it with Android Studio, which seems useful, but I’ve not verified that it works.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search