August 2017
Beginner to intermediate
220 pages
4h 50m
English
The APIs used by Android Things are not included in the standard SDK, and so a support library is required. At the very least, you will need the following dependency:
dependencies { ... provided 'com.google.android.things:androidthings:0.5-devpreview'}
Along with this entry in your manifest:
<application ...> <uses-library android:name="com.google.android.things"/> ...</application>
Most Things projects will need more than this, depending on which peripherals are used and whether the project will be tested using Firebase. Taking a look at the provided samples is a good way to see what dependencies are needed; the following snippet is taken from the Things Doorbell sample:
dependencies { provided 'com.google.android.things:androidthings:0.4-devpreview' ...Read now
Unlock full access