![](https://csdnimg.cn/release/download_crawler_static/56371574/bg3.jpg)
Android studio 开发环境配置 (unbuntu 14.10)
2
目 录
1 简介 ........................................................................................................................................... 3
2 配置环境顺序 ........................................................................................................................... 3
3 系统安装 ................................................................................................................................... 4
3.1 JAVA 环境搭建 ................................................................................................................... 4
3.1.1 区分 32 位还是 64 位操作系统 ............................................................................... 4
3.1.2 卸载 OpenJDK ........................................................................................................... 4
3.1.3 下载 Oracle JDK版本 ................................................................................................ 4
3.1.4 安装 Oracle JDK ......................................................................................................... 4
3.1.5 验证配置是否成功 ................................................................................................... 5
3.2 下载安装 ANDROID STUDIO .................................................................................................. 6
3.3 创建
ANDROID STUDIO
快捷方式 .......................................................................................... 6
3.3.1 进入 /usr/share/application 目录 ............................................................................. 6
3.3.2 新建 studio.desktop 文件 ........................................................................................ 7
3.3.3 打开 studio.desktop 文件 ........................................................................................ 8
3.3.4 复制 studio.desktop 文件到桌面 ............................................................................ 8
3.3.5 双击桌面上的 studio.desktop .................................................................................. 9
3.4 下载 ANDROID-SDK-LINUX.................................................................................................... 10
3.5 SDK-MANAGER下载相关 SDK ............................................................................................ 10
3.6 关联 SDK-MANAGER ........................................................................................................... 11
3.7 新建
ANDROID
工程验证结果 .......................................................................................... 12
3.8 准备手机调试 ................................................................................................................. 13
3.8.1 设置手机为 USB调试模式 .................................................................................... 13
3.8.2 查看手机的 usb 信息 ............................................................................................. 13
3.8.3 添加 udev 规则 ....................................................................................................... 13
3.8.4 设置规则文件权限并重启 udev 规则 ................................................................... 14
3.8.5 重启 adb .................................................................................................................. 14
3.8.6 验证调试手机是否设置成功 ................................................................................. 14