调试
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
调试是隔离和移除软件代码中的缺陷的过程。通过了解 Android Studio 中的调试工具,Android 开发者可以创建可靠且强大的应用。
要为 Associate Android Developer 认证考试做准备,开发者应执行以下操作:
- 了解 Android Studio 中提供的基本调试技术
- 了解如何调试和解决应用功能行为和易用性方面的问题
- 能够使用系统日志输出调试信息
- 了解如何在 Android Studio 中使用断点
- 了解如何使用 Android Studio 检查变量
资源
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-07-27。
[null,null,["最后更新时间 (UTC):2022-07-27。"],[[["\u003cp\u003eDebugging is crucial for identifying and resolving defects in software code, leading to the development of robust and reliable Android applications.\u003c/p\u003e\n"],["\u003cp\u003eAndroid Studio offers essential debugging tools that developers should master to ensure app functionality and usability.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers preparing for the Associate Android Developer certification exam need to be proficient in using debugging techniques such as System Log, breakpoints, and variable inspection within Android Studio.\u003c/p\u003e\n"]]],[],null,["# Debugging is the process of isolating and removing defects in software code.\nBy understanding the debugging tools in Android Studio, Android developers can\ncreate reliable and robust applications.\n\nTo prepare for the Associate Android Developer certification exam, developers should:\n\n- Understand the basic debugging techniques available in Android Studio\n- Know how to debug and fix issues with an app's functional behavior and usability\n- Be able to use the System Log to output debug information\n- Understand how to use breakpoints in Android Studio\n- Know how to inspect variables using Android Studio\n\nResources\n---------\n\n- [Android Developers -\\\u003e Debug your app](https://developer.android.com/studio/debug/)\n- [Android Developers -\\\u003e Write and view logs with Logcat](https://developer.android.com/studio/debug/am-logcat)\n- [Codelabs -\\\u003e Android Studio debugger](https://codelabs.developers.google.com/codelabs/android-training-using-debugger/index.html#0)\n- [Codelabs -\\\u003e Add log statements to your app](https://codelabs.developers.google.com/codelabs/android-training-hello-world/index.html#7)"]]