-
Notifications
You must be signed in to change notification settings - Fork 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
/proc/stat (Permission denied) #132
Comments
8.0以上已经被禁用,需要自己重新适配 |
有没有解决办法 ?怎么适配 |
我自己改了一版适配了,你有兴趣试用下么? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Android 系统 9.0
报错:
java.io.FileNotFoundException: /proc/stat (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:231)
at java.io.FileInputStream.(FileInputStream.java:165)
at java.io.FileInputStream.(FileInputStream.java:112)
at com.github.moduth.blockcanary.CpuSampler.doSample(CpuSampler.java:108)
at com.github.moduth.blockcanary.AbstractSampler$1.run(AbstractSampler.java:33)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.os.HandlerThread.run(HandlerThread.java:65)
The text was updated successfully, but these errors were encountered: