无法导入 android.server.* 包
我正在尝试使用 android.server.ProcessStats 类来获取 Android 设备上我的应用程序的 cpu 使用统计信息(pcpu、空闲时间等),但我无法导入包 android.server 需要使用这个类。经过网上搜索,我发现android.server包不是标准SDK的一部分。
谁能告诉我如何/在哪里找到这个包。 谢谢!
I am trying to use android.server.ProcessStats class to get cpu usage statistics (pcpu, idle time, etc) of my app on android device, but I'm not able to import the package android.server
required to use this class. After searching on the net, I came to know that android.server package is not the part of standard SDK.
Can anyone please tell me how/where should I find this package.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
There you go. The rest of the package is also included.