笛里谁知壮士心,沙头空照征人骨。这篇文章主要讲述[Android Tips] 31.如何将第三库引入的 Permission 删除掉相关的知识,希望能为你提供帮助。
Just declare the incriminated permission in your (main) Manifest with the
tools:node="
remove"
attribute (yes, that’s exactly how we fixed it).
For example:
<
uses-permission android:name=”android.permission.RECORD_AUDIO” tools:node=”remove” />
【[Android Tips] 31.如何将第三库引入的 Permission 删除掉】Even if another library is asking for this specific permission, the build will be forced to not merge it in your final Manifest file.
参考
- How Libraries can silently add permissions to your Android App
- Disable Dependency Library permission
- Disable dependency permissions
推荐阅读
- Android 6.0以上动态获取权限问题,百度语音识别
- APP的用户体验检验方法
- android -------- 蓝牙Bluetooth
- Android 创建单独的服务运行在后台(无界面)
- 如何进行APP的竞品分析
- Applets是什么 怎样使用 应用前景
- 优盘打开不了,本文教您U盘打开不了怎样修好
- u盘被写保护怎样解除,本文教您怎样解除u盘被写保护
- 硬盘分区表修好,本文教您如何修好硬盘分区表