Install JDK 17 (Optional)
# apt-get install openjdk-17-jdk
Add Multiarch repository to support architecture i386
# dpkg --add-architecture i386
# apt-get update
Note: to delete i386 run dpkg --remove-architecture i386
Install library required
# apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
Download Android Studio android-studio-2022.2.1.20-linux.tar.gz from https://developer.android.com/studio.
You need to create folder for Android Studio, SDK Tool and Workspace. Android Studio and SDK Tool can not be placed in same directory.
Extract your android-studio-2022.2.1.20-linux.tar.gz.
Run Android Studio for first time
- Run [Android_Studio_Folder]/bin/studio.sh
- Select Do not import settings
- Select Install Type: Custom
- Let default JDK folder for Gradle
- Select UI Theme, I choose Darcula
- Select your Android SDK Location that you have prepare before, Uncheck Android Virtual Device. You can install Android Virtual Device anytime after configuration finish.
- Read and accept License Agreement
- Wait until all files downloaded and installation finish.
You can install other SDk required after that. For example if you want to create application for Android 7.0, please download Android SDK Platform 24. This is your minimum android version.
You may start your android project, select save location that you have prepare before. For Example Save location: /[your_home_directory]/Workspace/Android/helloworld.
Android Studio in the same PC, run faster on Debian rather than windows 11 (dual boot).