且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在没有用户交互的情况下为系统应用程序授予权限?

更新时间:2022-11-03 21:39:33

您可以使用 targetSdkVersion=22 和 compileSdkVersion=24(以支持 marshmallow 设备)构建您的应用程序,以避免处理用户权限.

You can build your app with targetSdkVersion=22 and compileSdkVersion=24 (to support marshmallow devices) in order to avoid handling user permissions.