本文共 3441 字,大约阅读时间需要 11 分钟。
android开发入门
Android is an open source, Linux-based mobile operating system. Android was developed by the Open Handset Alliance, which was lead by Google and featured contributions from many other companies.
Android是基于Linux的开放源代码移动操作系统。 Android由开放手机联盟(Open Handset Alliance)开发,该联盟由Google领导,并获得了许多其他公司的贡献。
Today has become the leading Operating System being used in various devices, like mobile phone, tablets, watches, TV, cars and many more. It powers more than a billion devices all over the globe. Android has been the best selling OS on tablets since 2013, and on smartphones it is dominant by any metric.
如今, 已成为在各种设备(例如手机,平板电脑,手表,电视,汽车等)中使用的领先操作系统。 它为全球超过十亿台设备供电。 自2013年以来,Android一直是平板电脑上最畅销的操作系统,而在智能手机上,Android在所有指标上均占主导地位。
For getting started with Android development, you should already know about a few things:
要开始进行Android开发,您应该已经了解以下几件事:
: Android development is mostly done in Java. It’s not a difficult language to learn, but knowing how it applies to Android development can be confusing without a firm foundation in the language. Android Java is not exactly standard Java, but learning standard Java will make it much easier for you to pick up Android development.
:Android开发大部分是用Java完成的。 这不是一门难学的语言,但是如果没有扎实的语言基础,就知道如何将其应用于Android开发会令人困惑。 Android Java并非完全是标准Java,但是学习标准Java将使您更轻松地进行Android开发。
: Knowing XML can be useful in a number of tech-related fields and Android is no exception. In particular, XML files make it easier to declare UI elements in the apps you create. Past experience is a big plus.
:了解XML在许多与技术相关的领域中可能很有用,Android也不例外。 特别是,XML文件使在您创建的应用程序中声明UI元素更加容易。 过去的经验是一大优势。
The things you’ll need to start building applications for Android are:
开始构建适用于Android的应用程序所需的功能是:
: is the official guide to install Android studio.
: 是安装的官方指南。
If possible, an Android device. If you don’t have one, you can use an to run an Android virtual device on your computer.
如果可能,请使用Android设备。 如果您没有,则可以使用在计算机上运行Android虚拟设备。
Starting with Android Studio 3.0, tooling support for Kotlin is bundled directly into Android Studio. Kotlin is a statically-typed programming language that runs on the Java Virtual Machine and also can be compiled to JavaScript source code.
从Android Studio 3.0开始,对Kotlin的工具支持直接捆绑到Android Studio中。 Kotlin是一种静态类型的编程语言,可以在Java虚拟机上运行,也可以编译为JavaScript源代码。
Kotlin is designed to interoperate with Java code and is reliant on Java code from the existing Java Class Library, such as the collections framework. It was designed to be a better object-oriented language than Java, but still be backwards compatible with Java and allow companies to migrate gradually.
Kotlin旨在与Java代码进行互操作,并且依赖于现有Java类库(例如集合框架)中的Java代码。 它被设计为比Java更好的面向对象语言,但仍与Java向后兼容,并允许公司逐步迁移。
Some of the benefits of using Kotlin for Android development include:
使用Kotlin进行Android开发的一些好处包括:
翻译自:
android开发入门
转载地址:http://rlrwd.baihongyu.com/