Kotlin中的命令执行
我想执行此命令:
runtime.getRuntime()。exec(“ adb shell dpm set-set-device-owner com.example.msgshareapp/.adminreceiver”)
这不起作用,然后我尝试了此:
runtime.getRuntime()。exec(“ dpm set-set-device-owner com.example.msgshareapp/.adminreceiver”)
,无论如何,这一切都没有完全执行此命令?
I want to execute this command:
Runtime.getRuntime().exec("adb shell dpm set-device-owner com.example.msgshareapp/.AdminReceiver")
This didn't work, then I tried this:
Runtime.getRuntime().exec("dpm set-device-owner com.example.msgshareapp/.AdminReceiver")
And this does completly nothing, anyway of executing this command?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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