>>sudo apt-add-repository ppa:paolorotolo/android-studio
>>sudo apt-get update
>>sudo apt-get install android-studio
>>cd /opt #命令执行完成之后,会将包下载在opt文件下
>>ls
>>cd android-studio/bin/
>>sudo ./studio.sh
提示错误:
JDK Required: 'tools.jar' seems to be not in Studio classpath.
Please ensure JAVA_HOME points to JDK rather than JRE.
---折腾了好久,各种换JDK~/JRE都不行,结果~一看[youtube的视频](https://www.youtube.com/watch?v=qfinKxwYYZs),解决了就是不要输sudo即可!需要翻墙~
>>./studio.sh #终于蹦出了安装界面
>>>>>>>>>>漫长的下载过程>>>>>>>>>>>>>
>提示安装完成
接下来开始玩吧:http://developer.android.com/training/basics/firstapp/creating-project.html (谷歌的教程,开始你的hello world)
Ref: https://paolorotolo.github.io/android-studio/
附:百度云下载地址:http://www.android-studio.org/index.php/download/androidstudio-download-baidudisk/177-androidstudio-v1-5