我无法使用 DevicepolicyManger

发布于 2024-12-09 11:29:48 字数 188 浏览 2 评论 0原文

我无法在我的项目中使用 import DevicepolicyManger 。看下面的屏幕截图,

我尝试导入语句 Import android.app.admin.DevicepolicyManager 但我无法使用它

I can't able to use import DevicepolicyManger in my project. Look on below screenshot,

i tried to import statement Import android.app.admin.DevicepolicyManager but i m not be able to use it

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凯凯我们等你回来 2024-12-16 11:29:48

我认为 Api 级别较低,所以提出这个问题。使用 API 级别 8。API 8 是 Android 2.2,因此您无法在 2.1 或更低版本上使用它。

在此处输入图像描述

更多详细信息::

I think the Api level is lower so raise this problem. use API level 8. API 8 is Android 2.2 so you won't be able to use this on 2.1 or lower .

enter image description here

Further more detail ::

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文