1

For you guys who might have computers that have less memory resources, Less than the 8GB recommended by android studio docs, I have a solution on how to reduce the build that android studio consumes while trying to build an debug app to run in your real device. Instead of using the run Icon just open your terminal that is usually beside the logcat at the bottom sheet and run this-:

Gradlew installDebug

Saved me alot of time. My machine is a has 4GB of ram and with that it takes less than a minute to build unlike 10 mins before i stumbled on this method

you should not that

  1. the first time will take longer. almost the normal amountwhen you use the run button
  2. The con of this method is that, the app does not start automatically you have to launch it yourself Hope this saves someone!!!!! check this screen shot on how fast it is building[![][1]]2
Andrew Mititi
  • 933
  • 12
  • 11

0 Answers0