You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Ubuntu 20.04 LTS中为Android Studio Arctic Fox | 2020.3.1创建启动器图标?

Fix Missing Android Studio Desktop Launcher on Ubuntu 20.04 LTS (Arctic Fox)

Hey there! I’ve run into this exact issue with Android Studio Arctic Fox on Ubuntu 20.04 before, so let’s walk through a few solid solutions to get that desktop launcher working:

Method 1: Manually Create a Desktop Launcher File

This is the most reliable workaround when the automatic "Create Desktop Entry" option is missing. Here’s how to do it:

  • Open your terminal and create a new desktop configuration file with a text editor like nano:
    sudo nano /usr/share/applications/android-studio.desktop
    
  • Paste the following content into the file. Double-check the paths to match where you extracted Android Studio (if you unzipped to /usr/local/android-studio, these paths should work):
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=Android Studio
    Comment=Official IDE for Android app development
    Exec=/usr/local/android-studio/bin/studio.sh
    Icon=/usr/local/android-studio/bin/studio.png
    Terminal=false
    Categories=Development;IDE;
    StartupWMClass=jetbrains-studio
    
  • Save and exit nano: Press Ctrl+O, hit Enter to confirm, then Ctrl+X.
  • Give the file executable permissions so it works properly:
    sudo chmod +x /usr/share/applications/android-studio.desktop
    
  • You should now see Android Studio in your applications menu. If not, try logging out and back in, or double-click the .desktop file directly to test it.

Method 2: Find the "Create Desktop Entry" Option in Android Studio

Sometimes the option is hidden until you finish the initial setup. Let’s try this:

  • Launch Android Studio from the terminal first:
    cd /usr/local/android-studio/bin
    ./studio.sh
    
  • Once the IDE fully loads (make sure you complete any initial setup steps like importing settings or installing the Android SDK), look at the top menu bar. Go to Tools > Create Desktop Entry.
  • A prompt will ask if you want to create the entry for just your user or all users. Choosing "For all users" will make the launcher visible to everyone on the system.

Method 3: Fix Permissions (If the Above Methods Fail)

If the "Create Desktop Entry" option still doesn’t show up, it might be a permission issue with the Android Studio directory:

  • Run this command to give your user ownership of the Android Studio folder:
    sudo chown -R $USER:$USER /usr/local/android-studio
    
  • Restart Android Studio from the terminal and check the Tools menu again—the "Create Desktop Entry" option should now appear.

内容的提问来源于stack exchange,提问作者Shakib hasan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.30 06:42:32