Page 27

Android Programming Cookbook

19 / 143

Chapter 2

Android Project migration from Eclipse to Android Studio Android Studio is the official IDE for Android development, and with a single download includes everything you need to begin developing Android apps. This example describes the differences between Eclipse ADT and Android Studio, including project structure, build system, and application packaging, and will help you migrate your Android Eclipse project to Android Studio as your new development environment. For our example will use the following tools in a Windows 64-bit or an OS X platform: • JDK 1.7 • Android Studio 1.3.2 • Eclipse 4.2 Juno • Android SDK Let’s start with a slice of Android Studio theory. . .

2.1

Why to use Android Studio over Eclipse ADT?

Android Studio offers: • Flexible Gradle-based build system • Build variants and multiple apk file generation • Code templates to help you build common app features • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine • Rich layout editor with support for drag and drop theme editing • lint tools to catch performance, usability, version compatibility, and other problem • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine • Official Google Support and usual updates that need no migration

SKY MAGZ  

This is Yahya Christian School Magazine