Installing the Tools

The Android software development kit (SDK) works on Windows, Linux, and Mac OS X. The applications you create, of course, can be deployed on any Android device.

Before you start coding, you need to install Java, an IDE, and the Android SDK.

Java Development Kit (JDK) 7.0+

First you need a copy of Java. All the Android development tools require it, and programs you write will be using the Java language. JDK 7 or 8 is required.

Note: Mac users can skip this part. Android Studio will automatically install the right version of Java if you don’t have it. However, there have been reports of problems with mismatched Java versions on the Mac. If you get errors, you can find troubleshooting tips[10] at the Stack Overflow website. ...

Get Hello, Android, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.