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

  • Android Things Projects
  • Francesco Azzola
  • 230字
  • 2021-07-02 20:46:25

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.

主站蜘蛛池模板: 沁水县| 阳西县| 玉山县| 乡城县| 施秉县| 岳池县| 丹寨县| 乐至县| 安福县| 北辰区| 昌宁县| 丹棱县| 安阳市| 东乡族自治县| 廊坊市| 志丹县| 清远市| 阿拉善右旗| 宜兴市| 渝北区| 桂平市| 津南区| 凉城县| 太仆寺旗| 抚顺市| 鹿泉市| 高碑店市| 泸西县| 汝南县| 和平县| 商南县| 赞皇县| 中宁县| 达孜县| 陆川县| 灵台县| 营口市| 甘南县| 上饶县| 米泉市| 浙江省|