如何在 Ubuntu 上安装 Android Studio? [英] How to install Android Studio on Ubuntu?

查看:36
本文介绍了如何在 Ubuntu 上安装 Android Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在 Ubuntu 上安装 Android Studio 并且我使用了这个链接来下载安卓工作室.

I have to install Android Studio on Ubuntu and I have used this link to download Android Studio.

有没有什么简单的方法可以在 Ubuntu 上安装 Studio?

Is there any easy way to install Studio on Ubuntu?

推荐答案

Android 网站下载 Linux SDK.将文件夹复制到您要提取内容的任何位置.在那里打开一个终端,然后运行:

Download the Linux SDK from the Android website. Copy the folder to whereever you want to extract the contents. Open a terminal there, and then run:

sudo apt-get install unzip
sudo tar xvzf android-studio-ide-135.1641136-linux.zip
cd android-studio-ide-135.1641136-linux
./studio.sh

<小时>

Studio 1.0 及以上版本需要 JDK 1.7:


JDK 1.7 is required for Studio 1.0 onwards:

  1. d.android.com 下载 ubuntu zip 并重复上述步骤莉>
  2. 通过在终端中执行以下命令下载 jdk 1.7,如上所述 webupd8:

  1. Download the ubuntu zip from the d.android.com and repeat the steps from above
  2. Download the jdk 1.7 by executing the following commands in terminal as mentioned webupd8:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

  • 打开 Android Studio 并安装 SDK 工具.

  • Open Android Studio and install the SDK tools.

    注意事项:

    1. 如果您的系统有 32 位处理器,请使用 Platform Tools r23.0.1.有关详细信息,请参阅此错误.
    1. If your system has a 32 bit processor, use Platform Tools r23.0.1. Refer to this bug for details.

    注意:如果您运行的是 64 位版本的 Ubuntu,则需要使用以下命令安装一些 32 位库:

    Note: If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:

    $ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
    

    来源:- linux-32-bit-librariess

    这篇关于如何在 Ubuntu 上安装 Android Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆