snapcrafters / android-studio

A community-maintained package to easily install Android Studio on Linux
https://developer.android.com/studio/index.html
47 stars 16 forks source link

[Enhancement]: android-studio Linux arm64 support #98

Closed guyluz11 closed 1 year ago

guyluz11 commented 2 years ago

What changes would you like?

I am not sure if android studio support arm64 for Linux but I would like to see this option on the snap store page.

I think now is the best time since the new mac m1 machine is arm64 and some work is being done to run Linux on top of it.

image

Any extra information?

One user on Reddit said that we can download it for Linux arm64 using flatpack, so if it really exists I would love to see it in the snap option as well.

Also how to install on Chromebook ARM64 processor.

leaving this here, to post in case there is a change.

om26er commented 2 years ago

Google does not provide arm64 tarball for Linux, please check here https://developer.android.com/studio#downloads

merlijn-sebrechts commented 1 year ago

Flathub doesn't provide an arm build either. Don't believe random people on Reddit.

$ flatpak remote-info flathub com.google.AndroidStudio --arch=aarch64
error: Error searching remote flathub: Can't find ref com.google.AndroidStudio/aarch64
$ flatpak remote-info flathub com.google.AndroidStudio --arch=arm
error: Error searching remote flathub: Can't find ref com.google.AndroidStudio/arm
$ flatpak remote-info flathub com.google.AndroidStudio --arch=x86_64
        ID: com.google.AndroidStudio
       Ref: app/com.google.AndroidStudio/x86_64/stable
      Arch: x86_64
    Branch: stable
Collection: org.flathub.Stable
  Download: 21.5 MB
 Installed: 47.8 MB
   Runtime: org.freedesktop.Sdk/x86_64/21.08
       Sdk: org.freedesktop.Sdk/x86_64/21.08

    Commit: f6b9c8d2040a5a041ed33acfbd25cb498a238e8193e65021530ebf9041a2d6c4
    Parent: 3e2b87fafb63b42ff69f8230619aace6aa4d8c1e6f8d231ed2bd7d85dfe42f8f
   Subject: Update android-studio.tar.gz (c2ce5b82)
      Date: 2022-10-25 17:10:35 +0000

Closing this as it's an upstream issue. Feel free to reopen the issue once upstream supports arm!

guyluz11 commented 1 year ago

@merlijn-sebrechts I am using the snap store and it does support arm, Snap/snapstore is being developed by Ubuntu parent company Canonical. It can be found in the default apps store of several big Linux distros and can be installed in all distros, because snap is confined it will run the same on all distores (it includes all dependencies and app update mechanism).

Here is the snapstore page of android-studio https://snapcraft.io/android-studio

lucyllewy commented 1 year ago

@guyluz11 you misunderstood. While the snap store supports arm, as you rightly point out, that isn't the issue. We are packaging the Android Studio as supplied by Google, which does not support arm, so we cannot create an arm package of it.

guyluz11 commented 1 year ago

Yep, so we are waiting for Android studio itself to support it.

If someone is bumping into requests for Google Android studio team to support it please paste it here so everyone can upvote it.