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

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

问题描述

我必须在Ubuntu上安装Android Studio,并且已经使用此链接进行下载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网站. 将文件夹复制到要提取内容的任何位置. 在那打开一个终端,然后运行:

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


JDK 1.7对于Studio 1.0或更高版本是必需的:


JDK 1.7 is required for Studio 1.0 onwards:

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

  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位处理器,请使用平台工具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-librarie s

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

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