Delete SDK permission for Android

Rise_ J 2022-02-13 09:11:29 阅读数:215

delete sdk permission android

Android Studio When using external library When , There is a set manifest The merger mechanism of , The government also provided maker Tool to modify the consolidation rules . Suppose you need to remove “android.permission.ACCESS_FINE_LOCATION” jurisdiction , Can be in app Of AndroidManifest.xml In file , Add the following statement :

tools:node="remove" Delete tag for
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
tools:node="remove">
</uses-permission>

See the merged manifest file

 

copyright:author[Rise_ J],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130911280920.html