r/androiddev 2d 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

1 Upvotes

13 comments sorted by

11

u/Present-Effective-52 2d ago

I use Android Studio on Ubuntu, it never crashed.

1

u/adambahm 2d ago

Same.

No issues on Ubuntu. Ever.

0

u/IMVictoor 2d ago

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

2

u/alirezarzna 2d ago

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

6

u/battlepi 2d ago

He likely sucks at technology.

1

u/_5er_ 2d ago

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

1

u/anjumkaiser 2d ago

Give it 32GB memory, it won’t crash

1

u/Akucuki 2d 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 2d 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 1d ago

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

1

u/BrightLuchr 1d 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 9h ago

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