From the course: Android Studio Essential Training 2020

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Analyze and fix code problems

Analyze and fix code problems

From the course: Android Studio Essential Training 2020

Start my 1-month free trial

Analyze and fix code problems

- [Narrator] Android Studio has some great tools that help you analyze your code and find coding problems, or just suggestions for making your code better. To demonstrate this I'll create a brand new Android Studio project, and I'm going to base this on the bottom navigation activity template. I'll call the project Bottom Nav, and click finish to create it. In order to analyze your code, the project has to be completely built and indexed, and the first time you create any project from a new template, it might take a few moments before this feature becomes available, but once Android Studio has settled, you can go to the menu and choose analyze, inspect code. You can set the inspection scope to the entire project, just a module, to a particular file, or to a custom scope. I'll inspect my app module. I won't include my test sources, so I'm only looking at the application itself, and I'll click okay. Now this…

Contents