user986122
user986122

Reputation: 365

Performance Using Hyper-V to build in Android Studio

This is a very general question for anyone who uses a virtual machine to build android stuff. I'm running Windows 8.1 64-bit in a Hyper-V VM with 2 cores and 2 gigs of RAM dedicated to the VM (which I could expand if necessary). All that is installed on it is Android Studio (for complicated/unknown reasons, I can't run it on my main image). It works fine except that build times are in the minutes instead of seconds like I'm used to. It's really slowing down my development (I'm still just learning, so I make a lot of mistakes that require rebuilds).

Does anyone have any tips for optimizing Hyper-V or Android Studio builds that might cut my build times down (they range from 3 minutes minimum up to 12 minutes for a VERY simple app)?

Thanks in advance, and apologies about the extremely general question!

Upvotes: 0

Views: 676

Answers (1)

VD007
VD007

Reputation: 267

If you don't require all the windows 8.1 features in the android development environment, then install Microsoft Server 2012 instead and then install additional required features only. It will improve the performance and speed dramatically.

Upvotes: 1

Related Questions