binbinyang---android studio 配置
来源:互联网 发布:阿里云mysql空间不足 编辑:程序博客网 时间:2024/06/14 04:44
android studio 配置
未经许可不可转载
准备工作:
下载/安装android studio http://www.androiddevtools.cn/
安装完成创建项目
开始配置setting
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/273e4376-c59e-4b9a-9ea1-e3d4bbfb4141.png)
1.设置android studio 使其运行编译
步骤:设置compiler 将Make project automatically项勾选上
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/64a55c95-8342-4176-96f2-66a767c92594.png)
2.编码格式
步骤:设置File encodings 将所有其他格式改成utf-8
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/8bede6cc-839f-42ff-bc70-d8433b440868.png)
3.gradle
步骤:确保Gradle home 路径配置正确,路径一般在你android studio目录gradle下。
offline work 打勾,避免新版本更新自动从谷歌下载。
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/f0ecaf2b-8a05-4a32-bd62-2e4756e68dba.png)
4.链接模拟器超时时间
步骤:Tools--Tasks 修改Connection timeout 这里改成40000防止超时模拟器自动断开
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/e204cedf-6462-4ae6-91c8-132839f93927.png)
5.配置cmd
步骤:Toos--Terminal shell path 配置路径
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/7bfc1ea8-0168-42cb-9176-83e10e6aa1d5.png)
6.配置管理代码工具路径 git svn
步骤:Version Control
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/3614786d-998f-4dda-9d85-ab968cea4366.png)
7.配置appearance 主题样式
步骤 需要将Override default fonts by(not recommended)勾上避免代码中出现一些奇怪的字体样式。
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/fb757ce3-940d-45d7-b253-2e7b0677890e.png)
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/42f8c214-1824-4aef-af54-adac69b00c67.png)
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/2ce0a943-812b-4e40-a992-345b732b7b7e.png)
8.设置方法之间的分割线以便清楚看清方法的位置
步骤 appearance Window Options 进行配置
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/3f74ec01-7837-4f87-b0f1-27a9f2fa5efb.png)
9.代码提示配置
步骤:Code Completion 将Completion配置成None,提示性息不区分大小写,提示快捷键为Ctrl+空格
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/02637217-258b-4134-af88-e9a6be33d3ae.png)
10.自动打包配置
步骤 :Edit --- Generral -- Auto Import 将Add unambiguous imports on the fly 勾上 需要打包的类按回车自动打包。
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/a9c9058f-16ec-41f0-aad3-3e0e1106b822.png)
11.创建文件头部信息
![](http://fromwiz.com/share/resources/63ed1683-f71f-4d80-86e4-d8a6bbd8005b/index_files/2815a515-8f90-4890-8567-6d133ffe05dc.png)
0 0
- binbinyang---android studio 配置
- binbinyang---Android studio设置ide和project编码格式
- binbinyang---Android Studio快捷键设置成跟Eclipse一样
- Android Studio混淆模板和第三方混淆--binbinyang
- binbinyang---Android 导出---数据库
- binbinyang---Android 常用控件
- android studio 2.3运行项目,不会自动进入APP界面--binbinyang
- binbinyang---Android 屏幕适配
- binbinyang---Android EditText 禁止换行
- Android Studio:Android Studio 配置
- binbinyang---Android App 隐藏标题栏+状态栏
- binbinyang---Android自动检测版本及自动升级
- binbinyang---Android实现显示GIF图片
- Android第三方库Toasty--binbinYang
- Android Studio配置
- Android Studio 一些配置
- Android Studio安装、配置
- Android Studio安装、配置
- Multiple Contexts have a path of "/xxxx"问题解决
- JAVA 标示符号
- 【Android基础学习】动态设置 listView的高度,解决scrollView中嵌套listview时显示不全的问题
- 【codevs 1557】热浪的不同姿势
- 菜鸟学习中-URL传中文参数出现乱码
- binbinyang---android studio 配置
- unity3d ulua class
- hackbar使用简介!
- navicat for mysql 显示中文乱码解决办法
- 【群晖进阶篇】-更加安全的连接方式VPN Server
- 数据库快速插入数据
- str 绑定值的结尾 null 字符缺失(oracle数据库通过pde恢复,容易出现该错误)
- js函数Math random()、ceil()、floor()、round() 比较
- php(2)