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

  • 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.

主站蜘蛛池模板: 团风县| 丰城市| 留坝县| 湘潭县| 乌苏市| 安国市| 泽库县| 句容市| 宣恩县| 奇台县| 嘉义县| 霍林郭勒市| 曲阜市| 江北区| 高雄县| 房山区| 临城县| 包头市| 涿州市| 尼勒克县| 泾源县| 荣成市| 乐东| 青神县| 禹城市| 崇明县| 湄潭县| 贵南县| 夏邑县| 绩溪县| 卓资县| 武胜县| 天门市| 天台县| 房山区| 汉寿县| 安泽县| 鄂州市| 元江| 扎鲁特旗| 界首市|