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

  • Gradle for Android
  • Kevin Pelgrims
  • 342字
  • 2021-07-16 13:41:18

Android Studio

Android Studio was announced and released (as an early access preview) by Google in May 2013, alongside support for Gradle. Android Studio is based on JetBrains' IntelliJ IDEA, but is designed specifically with Android development in mind. It is available for free for Linux, Mac OS X, and Microsoft Windows.

Compared to Eclipse, Android Studio has an improved user interface designer, a better memory monitor, a nice editor for string translation, warnings for possible Android-specific issues and a lot more features aimed at Android developers. It also features a special project structure view for Android projects, besides the regular Project view and Packages view that exist in IntelliJ IDEA. This special view groups Gradle scripts, drawables, and other resources in a convenient way. As soon as the stable version 1.0 of Android Studio was released, Google retired the Android Developer Tools (ADT) for Eclipse and recommended all developers to switch to Android Studio. This means that Google will not provide new features for Eclipse anymore, and all IDE-related tool development is now focused on Android Studio. If you are still using Eclipse, it is time to change if you do not want to be left behind.

This screenshot shows what Android Studio looks like for a simple Android app project:

Staying up to date

There are four different update channels for Android Studio:

  • Canary brings bleeding-edge updates, but might contain some bugs
  • The Dev channel gets an update more or less every month
  • Beta is used feature complete updates that might still contain bugs
  • The Stable channel, which is the default, features thoroughly tested releases that should be bug-free

By default, Android Studio checks every time it starts if there any updates available and notifies you.

When you launch Android Studio for the first time, it starts a wizard to set up your environment and to make sure you have the latest Android SDK and the necessary Google repositories. It also gives you the option to create an Android Virtual Device (AVD), so you can run apps on the emulator.

主站蜘蛛池模板: 德清县| 灌阳县| 阿克陶县| 墨江| 安吉县| 盐城市| 洛浦县| 青海省| 南丹县| 芦山县| 福贡县| 石城县| 稷山县| 仁寿县| 泊头市| 高淳县| 定日县| 濉溪县| 天津市| 开化县| 泰州市| 新巴尔虎右旗| 偃师市| 平利县| 寻乌县| 锦屏县| 鄂伦春自治旗| 湄潭县| 连平县| 洮南市| 扶风县| 四会市| 高密市| 陇西县| 宣威市| 恩施市| 北流市| 天长市| 巍山| 南汇区| 尉氏县|