-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android 帧率 cpu 内存 无法查看 miui10 android8.1 未root #41
Labels
Comments
kotlin工程 androidX控件 |
cpu、内存功能是通过解析/proc目录文件实现的,但是android 8.0开始系统收紧了权限,不允许读取读取/proc目录文件。目前实现了使用adb命令来获取性能参数,不过操作有点繁琐。正在调研是否有替代方案。 |
LinJZong
added
bug
Something isn't working
enhancement
New feature or request
good first issue
Good for newcomers
labels
Feb 13, 2019
1.1.0版本已增加8.0设备支持 |
1.1.0版本之前是使用cat /proc/PID/stat方式获取CPU信息的吗?1.1.0是改为adb shell top命令获取了? |
是的 |
小米6 android9不能看,top命令拿到的也一直是0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Please complete the following informations.
请补充如下信息。
进入具体某个页面点击悬浮窗开启 cpu ram 帧率 这三个 按返回键 ,
内存cpu frame始终是0
android 红米5plus miui10 android8.1
The text was updated successfully, but these errors were encountered: