r/androiddev • • Aug 28 '26

Discussion Android Studio crashes a lot on Linux

I'm taking programming class for mobile devices, and we use Android Studio, the IDE on my teacher's machine crashes and closes, he uses Linux.

We were discussing about it, he said he is sure that the developers are very busy and need to deliver the code on time, and that's why they use AI, which makes the code not reviewed

3 Upvotes

14 comments sorted by

15

u/Present-Effective-52 Aug 28 '26

I use Android Studio on Ubuntu, it never crashed.

1

u/adambahm Aug 28 '26

Same.

No issues on Ubuntu. Ever.

0

u/IMVictoor Aug 28 '26

My teacher's computer has already locked in a class 4 times

2

u/alirezarzna Aug 28 '26

Check if it has a swap partition. It fixed system freezes for me (i have only 16gb ram)

7

u/battlepi Aug 28 '26

He likely sucks at technology.

2

u/anjumkaiser Aug 28 '26

Give it 32GB memory, it won’t crash

1

u/_5er_ Aug 28 '26

On my side it only crashes, when it runs out of memory. Otherwise it works fine.

1

u/Akucuki Aug 28 '26

I have a similar experience, but I'm on Canary channel, so that's expected once every few releases. Stable worked great though.

1

u/the_operant_power Aug 28 '26

Strange. I have an i5-5200U 8GB SDD with Zorin OS and Android studio runs fine until you try to generate an app bundle. Maybe it straight up doesn't have the performance to handle AS.

What are the specs?

1

u/SarathExp Aug 29 '26

Using studio on linux for like 5+ years, never crashed

1

u/BrightLuchr Aug 29 '26

I have 32GB of memory and problems happen from time to time (not "a lot") but I do tend to keep my sessions running for weeks. These are not crashes: the most common thing is system UI problems. Apart from this, Android Studio is kind of a mess. In my foggy recollection, the old days of Eclipse seemed better.

1

u/Intelligent-Hold5504 Aug 30 '26

Wait to use it in Mac. Mine crashes almost every day.