Advanced profiling is unavailab

2020-12-29  本文已影响0人  旭仔_2e16

解决方法:

  1. Run/Debug Configuration中勾选Profiling->Enable Advanced profiling for older devices。


    image.png
  2. 打开通过Debug.startMethodTracing()方式获取的trace文件时,必须在主线程中执行。
 if (isMainProcess()) {
            Debug.startMethodTracing("xxx");
        }
上一篇 下一篇

猜你喜欢

热点阅读