官术网_书友最值得收藏!

Creating the first Android Things project

Considering that Android Things derives from Android, the development process and the app structure are the as same we use in a common Android app. For this reason, the development tool to use for Android Things is Android Studio. If you have already used Android Studio in the past, reading this section will help you to discover the main differences between an Android Things app and an Android app. Otherwise, if you are new to Android development, this section will guide you step by step to create your first Android Things app.

Android Studio is the official development environment to develop Android Things apps, therefore, before starting, it is necessary you have installed it. If not, go to https://developer.android.com/studio/index.html, to download and install it. The development environment must adhere to these prerequisites:

  • SDK tools version 24 or higher
  • Update the SDK with Android 7 (API level 24)
  • Android Studio 2.2 or higher

If your environment does not meet the previous conditions, you have to update your Android Studio using the Update manager.

Now there are two alternatives to starting a new project:

  • Clone a template project from GitHub and import it into Android Studio
  • Create a new Android project in Android Studio

To better understand the main differences between Android and Android Things you should follow option number 2, at least the first time.

主站蜘蛛池模板: 松溪县| 东台市| 岳阳市| 绍兴县| 信丰县| 隆尧县| 大洼县| 图木舒克市| 新兴县| 那坡县| 海丰县| 肇庆市| 洪泽县| 永胜县| 育儿| 栖霞市| 银川市| 桐乡市| 九龙城区| 乾安县| 汉寿县| 璧山县| 麦盖提县| 潼关县| 疏附县| 依兰县| 邳州市| 六枝特区| 呼图壁县| 高邮市| 晋江市| 新乡县| 万源市| 马山县| 安图县| 武义县| 平谷区| 油尖旺区| 漯河市| 温州市| 乳源|