java - 新的 android studio 更新中的配置文件 'app' 是什么?

标签 java android android-studio

几天前我刚刚更新了我的 android studio,并注意到添加了一个名为 profile 'app' 的新功能。此外,在 android studio 的启动窗口中还有一个新选项 Profile or debug app。这些特性有什么用处,有什么优势?

最佳答案

Android Studio 现在允许您剖析和调试任何 APK,而无需从 Android Studio 项目构建它——只要构建 APK 以启用调试并且您有权访问调试符号和源文件。

查看官方信息中的APK profiling and debugging标题:https://developer.android.com/studio/releases/index.html

什么是分析?

An app is considered to have poor performance if it responds slowly, shows choppy animations, freezes, crashes, or consumes a lot of power. To avoid these performance problems, use the profiling tools listed on this page to identify where your app is making inefficient use of resources, such as the CPU, memory, graphics, network, and device battery.

这是有关如何使用Profile and Debug Pre-built APKs 功能的官方信息:https://developer.android.com/studio/debug/apk-debugger.html

关于java - 新的 android studio 更新中的配置文件 'app' 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47171399/

相关文章:

android - 如何获取谷歌地图的当前填充(Android API)

android - LocationListener 从未调用过

java - 不幸的是,<应用程序名称>已停止 "String data = sharedData.getText().toString();"

android - Ionic 5 Capacitor Android 不显示地理定位结果

android - Google 的短信一次性代码自动填充服务,API_NOT_AVAILABLE 状态是什么意思?

java - 如何计算、控制和更新客户信用?

java - 使用stream获取带有id的列表

android - SearchView Android 中的自定义图标

java - 使用 spEL 的多队列 RabbitListener

java - imdb 仅获取电影摘要 java (xml)