0

I ended up needing to download android studio (AS) multiple times as I downloaded a old version first accidentally. Now whenever I start AS via the terminal ( I type cd /usr/local/android-studio/bin and then bash studio.sh to start it), I start a 2024 version from AS. The right one. But when I search for AS in the searchbar on the bottom of the screen I start a 2022 version.

I obviously would rather want to use the searchbar as it's the normal/easier way.

My assumption is that I have 2 AS on my PC right now. But I have deleted the first one.

This is what gets executed when I click on the icon in the searchbar:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=android-studio com.google.AndroidStudio

Is there maybe some way to find the path that the icon in the searchbar uses, so that I can start the newer 2024 version of the tool?

7
  • You can't have deleted the older version if you're successfully starting it from your search bar Commented Sep 17, 2024 at 13:37
  • No, I still dont know how it is possible that this command starts the 2022 version Commented Sep 17, 2024 at 14:07
  • I don't see the issue. You've got a Flatpak version (that you don't want) and a locally installed version in /usr/local/android-studio that you do want. Commented Sep 17, 2024 at 14:15
  • but how can i delete the flatpak version? i dont know where to search for it Commented Sep 17, 2024 at 14:26
  • How did you install it Commented Sep 17, 2024 at 14:37

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.