![][logo]
[![api][apiSvg]][api] [![License][licenseSvg]][license]
中文 | English
推荐使用[Chrome]浏览器或[Firefox]浏览器阅读,其他浏览器可能不支持目录跳转,影响阅读。
由来:回想起以前一路摸索AS的坎坷还有如今时而碰到的一些关于AS的问题,都需要花不少的时间查阅相关资料,于是便突发奇想,为何不自己整理出一本关于AS的手册呢。
从Eclipse转到AndroidStudio阵营已经好长一段时间了,同时也从一开始的陌生、格格不入,到后来的越发熟练自如地使用整个AS开发环境(由于篇幅较长,统一用As代替AndroidStudio)。不得不说,刚开始用AS的时候确实会遇到很多小问题,比如说:不知道如何把Android项目结构换成project;不知道如何设置项目的字体大小和风格;不知道如何使用As的快捷键(之前Eclipse的快捷键很多都无效了)等等。总的来说,这些其实都是一些很小的问题,但就是因为一些很小的问题,让你不得不百度找各种解决办法,当然了,百度后肯定是有答案的,可是呢,你花在其中的时间就会浪费很多了。
所以我们应当以花费最小的时间为目的,把更多的时间用在代码和优化的问题上。这就是我写这文章的目的,同时也是为了方便自己或其他开发者查阅相关资料。
注意:本文章是基于最新的Android studio 3.2.0 版本(截止到2019/01/14,)、Windows系统的基础下编写的,Mac OS X也可参考下,不排除因为系统、快捷键有所差别。由于AS的功能过于强大,不少偏僻的功能可能不会用到,所以我们这里主要还是以实用的为主。
- 新手:快速入门
- 老手:可重新系统学习一遍
- 作为实用手册,侧重在于实用,有些过于偏僻的功能可能不会介绍到
- 主要解决As工作环境的问题,而非教导如何编程的。
- 追求利用手册更加有效率的解决问题
- 以图文为主,代码为辅
- 同步更新AS新版本的特性
- 不定期更新AS的文章
- 第1章 Android Studio 起步
- 第2章 Settings偏好设置
- 第3章 File文件
- 第4章 Edit编辑
- 第5章 View视图
- 第6章 Navigate导航
- 第7章 Code代码
- 第8章 Analyze分析
- 第9章 Refactor重构
- 第10章 Build构建
- 第11章 Run运行
- 第12章 Tools工具
- 第13章 VCS版本控制
- 第14章 Window窗口
- 第15章 Help帮助
- 第16章 Bulid构建错误汇集
- 第17章 AndroidStudio版本
- 第18章 其它
https://github.com/bxiaopeng/AndroidStudio https://developer.android.google.cn/studio
Copyright 2019 Brainbg
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
[Chrome]:https://www\.google\.cn/intl/zh\-CN/chrome/
[Firefox]:http://www\.firefox\.com\.cn/
[licenseSvg]: https://img\.shields\.io/badge/License\-Apache\-\-2\.0\-brightgreen\.svg [license]: https://github\.com/Brainbg/AndroidStudioHandbook/blob/master/LICENSE
[apiSvg]: https://img\.shields\.io/badge/API\-19%2B\-brightgreen\.svg [api]: https://android\-arsenal\.com/api?level=19
[issues]: https://github\.com/Brainbg/AndroidStudioHandbook/issues