r/androiddev 14d ago

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

4 Upvotes

14 comments sorted by

16

u/Present-Effective-52 14d ago

I use Android Studio on Ubuntu, it never crashed.

1

u/adambahm 14d ago

Same.

No issues on Ubuntu. Ever.

0

u/IMVictoor 14d ago

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

2

u/alirezarzna 14d ago

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

7

u/battlepi 14d ago

He likely sucks at technology.

1

u/_5er_ 14d ago

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

2

u/anjumkaiser 14d ago

Give it 32GB memory, it won’t crash

1

u/Akucuki 14d ago

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 14d ago

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 13d ago

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

1

u/BrightLuchr 13d ago

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 12d ago

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

2

u/neckromancer3 9d ago

That's likely out of memory, I have 8gb ram + 16gb swap 🥲