Install Android Studio on Linux ARM64 Machines

Install Android Studio on Linux ARM64 Machines

1. System Requirements

CPU architecture: ARM64; Operating system: Linux environment.

2. Install Android Studio

2.1. Download the Android Studio for Linux ARM64 package and extract it

https://github.com/openfde/android_studio-patches/releases/tag/studio-arm64-2024.3.2

unzip android-studio-linux-arm64-2024.3.2.zip

2.2. Download the SDK for Linux ARM64 archive and extract it

https://github.com/openfde/studio_sdk/releases/tag/studio-arm64-2024.3.2

Note: Download both Sdk-243.25659.59.2432-linux-aarch64.z01 and Sdk-243.25659.59.2432-linux-aarch64.zip, then use the zip -F command to merge them into a single ZIP before extracting it.

zip -F Sdk-243.25659.59.2432-linux-aarch64.zip --out Sdk.zip unzip Sdk.zip

3. Run Android Studio

3.1. Start it after extracting the installation package

$ ./android-studio/bin/studio.sh

3.2. Change the SDK Directory

After launching Android Studio, change the default SDK path to the path of the manually downloaded SDK.

How to change the SDK: File -> Settings -> Languages & Frameworks -> Android SDK

3.3. Modify the aapt2 File

If an aapt2 tool error occurs when building an app with Android Studio, you can modify the $HOME/.gradle/gradle.properties file (create it manually if it does not exist) and add the following configuration at the end of the file to permanently set the location of aapt2.

android.aapt2FromMavenOverride=/home/openfde/Sdk/build-tools/aapt2

4. Testing

Below are screenshots of running Android Studio (ARM64) on the Phytium Tengrui D3000 platform.

图片-20251128-082108.png

The Android Studio for Linux Arm64 version has now completed comprehensive functional testing on the Phytium Tengrui D3000 and FT2000 platforms. We would like to express our sincere thanks to Phytium for their support.