Instead of full Google Library: compile ':play-services.' (Compile time goes from 2 minutes to around 25 seconds). Specific Google Service, like: compile ':play-services-maps.' Note: keep that “unnecessary” modules in your version control systemįor the eventuallity of a quickfix/improvement in that dependency. The time goes regarding the build process. Hint: run the gradle build -profile for an HTML report showing where Modules are expensive... On my current project I had to build some libraries from scratch and had to fork some that almost fitted my needs but not quite! If that modules are not constantly modified, it’s important to have this into consideration: the time needed to compile them from scratch, or even to check if the previous individual module build is up-to-date, can be up to almost 4x greater than to simply load that dependency as a binary. File > Settings > Appearance & Behavior > System settings > HTTP Proxy.
In addition, the panels at the bottom of AS keep jumping around which is a horrible user experience (moves from Android to Messages to Version Control or anything else on an ad-hoc basis depending on what's happening which is very, very annoying).ġ) How do I make Android Studio run better? I may be doing something wrong or missing some updates that I'm not aware of and I'm sure others have also noticed these behaviors and have found some solutions to it.Ģ) How do I "pin" the bottom panels so that they don't jump around and instead, let me, the user, navigate to them when I wish to instead of automatically switching them? The RAM usage also shoots up to ~3GB which I find excessive for doing nothing (this is when it's idle after a few builds). It also causes flickering of screen and occasionally blanking my second monitor if I click on "Gradle build running" spinner which I find very odd.
Whenever I'm building or running anything in AS, my PC seems to become extremely sluggish. The Android Studio is very slow in building the project which I can live with but it's also extremely resource intensive and sometimes slows down the PC to a crawl.
I'm comparing them both on a Windows 7 64 bit ultimate with 16GB of ram and Intel i7 4770 running NVidia Geforce 780 with the latest NVidia drivers if it matters and I'm running the latest JDK and the latest Android Studio. I recently upgraded from Eclipse to Android Studio and I'm not really liking the experience.