Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent Android Studio/Intellij Idea from building project on startup

When I open Android Studio, it loads the last project, and runs build. I really don't need it to do this. If I save a project with errors in it, because I haven't got time to fix them, but plan on doing it later, I don't really want the compiler to try to compile it next time I open the project, because it's just going to fail.

Also it's pointless building the project on startup even if it doesn't have errors, because if the project doesn't have errors, I always build it to test it before I stop working on it, so the new build will be completely redundant. Thanks if anyone knows of a way to disable this. I've tried Googling and searching the settings but can't find anything.

Edit: this has become even more annoying since I moved to a slower computer for development. It already takes long enough for Android Studio to start up, having the program build just slows the startup even more.

like image 948
joe_deniable Avatar asked Jul 03 '13 15:07

joe_deniable


People also ask

How do I stop auto compile in IntelliJ?

Open the Setting > Build Tools page. 2. Disable the "Reload changes in build scripts" option.

How do I stop the last project from opening in IntelliJ?

This behaviour can be changed in the preferences Appearance & Behaviour > System Settings > Reopen last project on startup. To cancel loading a project at startup, hit the Cancel button on the loading progress dialog.

Is IntelliJ IDEA better than Android Studio?

IntelliJ IDEA supports development for multiple platforms, but is missing some of the specialized features included in Android Studio, such as APK support. Android Studio may be a better choice for businesses that develop primarily Android Applications.

Do I need IntelliJ IDEA if I have Android Studio?

No. Android Studio and the Android plugin for IntelliJ IDEA are built from the same code, and all of the changes in Android Studio are, and will continue to be, available in IntelliJ IDEA releases.


1 Answers

I've confirmed with a Google software engineer that this is currently not an option as of Android Studio 0.2.1. ( See 5th comment: https://plus.google.com/u/0/+XavierDucrohet/posts/1R2iPQzo4Zh )

I've also opened the following ticket as the engineer suggested: https://code.google.com/p/android/issues/detail?id=57831&thanks=57831&ts=1374268538

Hopefully this will be resolved in the near future! Until then, I guess we'll have to open Android Studio and grab a cup of coffee while the build completes.

like image 136
Brian Avatar answered Sep 21 '22 06:09

Brian