如何在Ubuntu上安装Android Studio? [英] How to install Android Studio on Ubuntu?
问题描述
我必须在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:
- 从 d.android.com 下载ubuntu zip,然后重复上述步骤
- Download the ubuntu zip from the d.android.com and repeat the steps from above
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.
注意事项:
- 如果您的系统具有32位处理器,请使用平台工具r23.0.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屋!