markzhai / markzhai/AndroidPerformanceMonitor

收集CPU数据的方法,在Android O系统上,存在兼容问题

Open
#96 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
6.7k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

问题 如上:java.io.FileNotFoundException: /proc/stat (Permission denied)

![image](https://cloud.githubusercontent.com/assets/17938429/26343458/a5e11120-3fce-11e7-8bc0-c02a4a78bcc0.png)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Java code that collects CPU data and reproducing the /proc/stat permission failure on Android O. Done means CPU collection no longer fails with FileNotFoundException on that system, while the monitor continues to report CPU data on supported Android versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.