0

This morning I got Android Studio updated, and now it has a bug. The solution is here, so I just need to rename snap's file, how can I do this, if snap files are read-only?

Maybe there is a way to downgrade to the previous version of Android Studio? Because now when I do snap info android-studio it seems like there are no channels with previous versions.

Andrew T.
  • 181
  • 1
  • 2
  • 10
Kalich
  • 47

3 Answers3

1

There is no generic mechanism for renaming snaps nor editing yet. Seems you have to rename some .jar within the app. So you have to recreate the snap.

If this is the only solution of the bug, I suggest downloading Android Studio from here and installing manually.

Edit: If you need help regarding to installing Android Studio, feel free to reply.

Alca
  • 190
0

I would recommend to install Android Studio using Ubuntu Make:

sudo add-apt-repository ppa:lyzardking/ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make

umake android android-studio

As the result it will be installed into ~/.local/share/umake/android/android-studio/ and you can edit any files here.

N0rbert
  • 103,263
0

Maybe there is a way to downgrade to the previous version of Android Studio?

Yes, this is very easy with snaps. Just run:

sudo snap revert android-studio

Explained in more detail here.

Artur Meinild
  • 31,035