先从官网下载Linux版的AndroidStudio http://developer.android.com/sdk/index.html#Other html
1. 解压,把文件夹放到本身但愿的目录 android
2. 进入刚刚的目录,找到目录下的bin/studio.sh文件,这个就是执行文件,不过不能直接在GUI模式下面运行 ide
3. Ctrl+Alt+T打开Console, 而后进入刚刚的目录,直的ls看到studio.sh为止,输入 ./studio.sh idea
4. 接着会进入安装步骤,若是选择默认安装,即第一项,我尝试过会卡在下载进度三份一的位置,大概意思是在下载组件,这个时候能够强退安装程序,直接回到刚刚的Console,Ctrl+C便可退出安装程序 spa
5. 而后按照网上说的,找到bin/idea.properties 编辑, 最后一行加disable.android.first.run=true 插件
6. 从新用控制台执行./studio.sh,此次在选择第二项,自定义安装,不要下载第二项,SDK htm
7. 按照上面的方法应该就能够了 get
安装后的简单配置: it
建立快捷方式: 打开AndroidStudio后Tools->Create Desktop Entry,而后右上角会提示成功建立,能够关闭Studio, 在菜单输入studio便可启动 io
升级SDK Manager: 打开SDK Manager->Tools->Options 填入 Proxy: mirrors.neusoft.edu.cn port: 80, Force https ... 打勾
GenyMotion插件安装:个人在线安装不行,因此选择了本地安装,File->Setting 搜索Plugin, 最下面Install plug from disk
若是启动GenyMotion出现下面提示:
Unable to load VirtualBox engine.
Make sure that it is properly installed before starting Genymotion.
在虚拟终端输入virtualbox会提示:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.16.0-36-generic) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
而后复制上面指令: sudo /etc/init.d/vboxdrv setup
而后出现:
Stopping VirtualBox kernel modules ...done.