官术网_书友最值得收藏!

Chapter 1. Getting Started with Gradle and Android Studio

When Google introduced Gradle and Android Studio, they had some goals in mind. They wanted to make it easier to reuse code, create build variants, and configure and customize the build process. On top of that, they wanted good IDE integration, but without making the build system dependent on the IDE. Running Gradle from the command line or on a continuous integration server will always yield the same results as running a build from Android Studio.

We will refer to Android Studio occasionally throughout the book, because it often provides a simpler way of setting up projects, dealing with changes, and so on. If you do not have Android Studio installed yet, you can download it from the Android developer website (http://developer.android.com/sdk/index.html).

In this chapter, we will cover the following topics:

  • Getting to know Android Studio
  • Understanding Gradle basics
  • Creating a new project
  • Getting started with the Gradle wrapper
  • Migrating from Eclipse
主站蜘蛛池模板: 兴安县| 东乌珠穆沁旗| 黎平县| 稻城县| 洛扎县| 图木舒克市| 克山县| 申扎县| 曲阳县| 莱阳市| 福泉市| 木里| 铁岭县| 宜春市| 菏泽市| 南溪县| 玉林市| 安丘市| 攀枝花市| 庄浪县| 中卫市| 南漳县| 星座| 永城市| 高雄市| 阳新县| 漳平市| 台东县| 无锡市| 宜昌市| 盐亭县| 清河县| 汝州市| 宿州市| 孝感市| 淮南市| 屯昌县| 资阳市| 类乌齐县| 新和县| 镇沅|