Skip to content

Commit 57650d7

Browse files
feat(android_studio): add instructions to add android studio to OS's Desktop app list
1 parent da9a549 commit 57650d7

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/content/docs/programming_stuff/WebDev/Astro_on_Android_with_Tauri.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,29 @@ This Guide assumes that you already have an Astro Js Project Setep and you are f
7070
3. `SDK Tools > NDK (Side by side)`
7171
4. `SDK Tools > Android SDK Command-line Tools (latest) `
7272
5. `SDK Tools > Android SDK Platform Tools `
73+
74+
- Now, Add `Android Studio` as an Desktop Application that shows up in App Selection Menues Across the OS
75+
```shell
76+
# Step 1: Create the desktop entry directory if it doesn't exist
77+
mkdir -p ~/.local/share/applications
78+
79+
cat > ~/.local/share/applications/android-studio.desktop << 'EOF'
80+
[Desktop Entry]
81+
Version=1.0
82+
Type=Application
83+
Name=Android Studio
84+
Comment=Android Studio IDE
85+
Exec=/opt/android-studio/bin/studio.sh
86+
Icon=/opt/android-studio/bin/studio.png
87+
Categories=Development;IDE;
88+
Terminal=false
89+
StartupWMClass=jetbrains-studio
90+
EOF
91+
92+
chmod +x ~/.local/share/applications/android-studio.desktop
93+
94+
update-desktop-database ~/.local/share/applications
95+
```
7396
7497
</Steps>
7598

0 commit comments

Comments
 (0)