Android Develop 之 Ddevelop WorkFlow Basics

Android应用程序的开发流程一言以蔽之,可以用一图五步概括。一图如下。

第一步:安装。安装开发环境,包括JDK,Android Studio,SDK Manager(通常下载Android Studio安装包时会包含这货)。三者缺一不可。

有了开发环境后,就可以创建第一个工程了。

第二步:写代码。这一步就是在自己的设计基础上编写代码,实现应用程序的功能,图形化界面,导入资源,库文件之类。

第三步:构建并运行程序。这一步要求我们至少连接一台android设备或者是模拟器,以便进行程序的运行。程序构建和运行默认用Android Studio内置的方式,我们也可以自定义

程序的构建运行方式,通过轻量化构建结构,来降低运行时间加快运行速度。

第四步:Iterate反复调试。

This is the iterative phase in which you continue writing your app but with a focus on eliminating bugs and optimizing app performance. Of course, creating tests will help you in those endeavors.

For information about basic debugging tasks, read Debug Your App and Write and View Logs.

这个过程中,你其实不断在写代码,调试,写代码调试,通过这个过程程序漏洞并优化程序。同时,测试也可以帮助我们定位问题所在。

To view and analyze various performance metrics such as memory usage, network traffic, CPU impact, and more, use Android Monitor.

And for an introduction to building tests, see Test Your App.

第五步:发布。当我们的应用程序调试完毕,就可以到Google Play中发布应用了。当然我们需要给程序一个版本号并完成签名操作。

原文地址:https://www.cnblogs.com/nora-xie/p/5513289.html