Welcome to the Android Things SDK Preview! Android Things development is very similar to traditional Android mobile development and involves writing apps using the Android framework and tools. All you need is a development board flashed with the Android Things OS and the required peripherals for your device.
This guide gives you all the information you need to get started quickly with a supported board and set up your initial development environment.
Get Familiar with Android Development
If you've never developed an Android app, start by building your first Android mobile app. The basic concepts and general workflow of core Android development transfer over well to Android Things development. If you don't have a mobile device, the Android SDK comes with a software emulator.
See Building Your First App in the Android OS documentation to get started and come back to Android Things when you're ready.
Understand the Android Things Platform
Because Android Things has a few key differences compared to the core Android OS, read the Overview to understand key concepts that you'll need to understand.
Before you begin, you need a supported development board. You can compare the available boards on the Developer Kits page.
Flash Android Things
Once you select a board, flash and bring up your hardware with the instructions in the Hardware Getting Started guide for your particular board:
Set Up Your Development Environment
- Download or update to the latest version of Android Studio.
- Open Android Studio and start a new project. In the new project wizard, keep
the default settings except for the form factors:
- Select Android Things as the form factor on which to run your application.
- Select API 26: Android 8.0 (Oreo).
Connect your board and verify you can access the device via
$ adb devices List of devices attached 4560736843791520041 device
Deploy the sample project to your board and verify that you can see the activity messages with
Build your First Device
Now that you have your environment set up, see the Building Your First Device training class to start developing for Android Things.
For assistance building more complex applications with Android Things, review additional examples in the Samples section.