我们在Android Studio中添加访问sd的权限时会发生红色提醒。这是因为你要访问的是系统的权限。但是这是可以通过编译的。我们看着总是比较烦心。
可以通过下面设置成橙色警告
Inspection info:Permissions with the protection level signature, privileged or signatureOrSystem are

File -> Settings -> Editor -> Inspections
把using system app permission改为warning起即可Inspection info:Permissions with the protection level signature, privileged or signatureOrSystem are

改完如图:Inspection info:Permissions with the protection level signature, privileged or signatureOrSystem are

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2021-12-21
  • 2021-08-23
猜你喜欢
  • 2021-10-23
  • 2021-12-14
  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
相关资源
相似解决方案