我注意到当我在build.gradle文件中使用以下内容时,会自动添加以下权限compile 'com.google.android.gms:play-services:7.5.0'早期版本的播放服务不会发生这种情况。有谁有解决方案来删除这些不需要的权限?我仅使用广告功能(INTERNET和ACCESSNETWORK_STATE)。我不需要LOCATION和USE_CREDENTIALS权限。如何删除这些不需要的权限?我注意到“ manifest-merger-xxx-debug-report.txt”文件包含以下内容 ...<snipped bunch of other merges>MERGED from com.google.android.gms:play-services-maps:7.5.0:22:5 android:name ADDED from com.google.android.gms:play-services-maps:7.5.0:22:22uses-permission#android.permission.ACCESS_COARSE_LOCATIONADDED from com.google.android.gms:play-services-maps:7.5.0:23:5MERGED from com.google.android.gms:play-services-maps:7.5.0:23:5MERGED from com.google.android.gms:play-services-maps:7.5.0:23:5MERGED from com.google.android.gms:play-services-maps:7.5.0:23:5 android:name ADDED from com.google.android.gms:play-services-maps:7.5.0:23:22uses-feature#0x00020000ADDED from com.google.android.gms:play-services-maps:7.5.0:24:5MERGED from com.google.android.gms:play-services-maps:7.5.0:24:5MERGED from com.google.android.gms:play-services-maps:7.5.0:24:5MERGED from com.google.android.gms:play-services-maps:7.5.0:24:5 android:glEsVersion ADDED from com.google.android.gms:play-services-maps:7.5.0:25:8 android:required ADDED from com.google.android.gms:play-services-maps:7.5.0:26:8android:uses-permission#android.permission.READ_EXTERNAL_STORAGEIMPLIED from AndroidManifest.xml:2:1 reason: com.google.android.gms.maps requested WRITE_EXTERNAL_STORAGEuses-permission#android.permission.GET_ACCOUNTSADDED from com.google.android.gms:play-services-wallet:7.5.0:21:5 android:name ADDED from com.google.android.gms:play-services-wallet:7.5.0:21:22uses-permission#android.permission.USE_CREDENTIALSADDED from com.google.android.gms:play-services-wallet:7.5.0:22:5 android:name ADDED from com.google.android.gms:play-services-wallet:7.5.0:22:22meta-data#com.google.android.gms.wallet.api.enabled ...<snips more lines away>
2 回答
- 2 回答
- 0 关注
- 722 浏览
添加回答
举报
0/150
提交
取消