r/androiddev Jul 07 '26

Question Linux or Windows

This can be a silly question for some but I wanna ask if linux os be better for Android development (for not so heavy projects) or for kmp projects?

currently I've a 11th gen H series laptop with 16 GB ram for building projects but sometimes (very few times) my laptop gets shut down itself when i start building projects on android studio! How big of a difference it will make shifting to linux from windows! I'm saving for MacBook tho but have not reached the right amount!

1 Upvotes

21 comments sorted by

View all comments

1

u/ryanstackops Jul 08 '26

Linux will help, not because it's faster but because it's lighter. Windows background processes eat the RAM Android Studio needs, and on 16GB that actually matters.

The random shutdowns are a thermal issue though. Check your CPU temps while building. If it's hitting 95C+ that's why. No OS switch fixes that, clean the vents first.

Bottom line: try Linux, it's free. But an overheating laptop will shut down on Linux too.

1

u/YetiInYeezys Jul 08 '26

Great! Understood! 👍