Android Things
=================
Setup
---------
Add to `build.gradle (Module: app)`:
.. code-block:: gradle
dependencies {
...
provided 'com.google.android.things:androidthings:0.5.1-devpreview'
}
Add to `AndroidManifest.xml`:
.. code-block:: xml
...
Add to `AndroidManifest.xml`:
.. code-block:: xml
To use Kotlin, go to activity, and *Code | Convert Java File to Kotlin File*.
Make sure the plugin is installed, if not:
*Go to File | Settings | Plugins | Install JetBrains plugin… and then search for and install Kotlin.*