r/android_devs • • May 06 '24

Question Anyone facing this strange AVD bug in Android Studio Jellyfish?

For me it looks like AVD is broken after updating to Jellyfish. Emulator gets stuck in infinite loading every time at first boot. Then it works fine after restarting android studio. I have to do this every single time my pc boots up.

3 Upvotes

11 comments sorted by

View all comments

Show parent comment

2

u/-ry-an May 16 '24

Since the past few updates in my Linux, iguana and jellyfish, my emulator restores old snapshots if my code, like a caching issue... I'll see my app showing UI/functionality from a few hrs ago...

Also, my hardware won't connect and install the most recent changes from time to time.

Literally need to wipe the whole app, index and remove the database...and even then it still won't connect to my 📱....

Anyone else having/had this issue

1

u/wolverine00001 May 18 '24

Yeah I was facing this issue from around the giraffe version. I have enabled "Always install with package manager" in the Android Studio app build config, this fixed it. It never installed that old cached apk after this.

1

u/-ry-an May 18 '24

Cheers, thanks for that Logan. Will give it a go this weekend.

1

u/-ry-an May 21 '24

Update:

This worked for fixing the local environment using the virtual emulators.

It did cause issues for updating my physical device, and I solved it by turning off this option when connecting my physical device.