Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想分析我的设备中的内存消耗,但我没有在 Android Studio 中找到Android profiler选项卡,如下所示:
请谁能帮我显示这个标签。
如果您查看顶部菜单,您将看到一个配置文件图标,单击它,它将启动您的应用程序并附加配置文件。请参阅下面的屏幕截图以了解此想法。
Android Studio 的完美提示:
当您需要查找某些内容时,将其写入帮助选项卡,如下所示:
如果你知道你在找什么,你会在那里找到它:)
在我们构建并运行分支的最新代码之前,该Profile选项不会显示在选项卡中。 再次运行,Profile选项就会出现。
Profile
我也遇到过这个问题。这是解决方案。您必须为特定项目启用 Android Facet。转到文件 → 项目结构并选择“构面”。单击+按钮并添加“ Android ”。在选择模块弹出选择您的项目并单击“确定”,然后单击“应用”
您现在可以在底部菜单中找到Profiler选项卡,也可以从View -> Tool Windows中找到