I have not requested my requests for hosting applications for Android
Looking at the final post-build manifest, it includes two additional permissions that I did not ask for. WRITE_EXTERNAL_STORAGE and ACCESS_COURSE_LOCATION.
I am running a gradle build. I saw another post saying to declare the uses-sdk clause with minSdkVersion, but that didn't help. Here's what I've tried:
<uses-sdk
android:minSdkVersion="17"
android:targetSdkVersion="21" />
I have also looked at the manifest in all my dependencies and I don't see anything to add it.
com.crashlytics.sdk.android:crashlytics:2.5.0@aar
compile 'com.android.support:support-v4:22.2.1'
compile 'com.android.support:support-v13:22.2.1'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:design:22.2.1'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.google.android.gms:play-services-identity:7.5.0'
compile 'com.google.android.gms:play-services-analytics:7.5.0'
compile 'com.sababado.circularview:library:1.0.0'
Where do permissions come from?
source to share
The app manifest specifies what your app requires, even if you haven't explicitly specified it in your . In fact, the last manifest is the result of merging your AndroidManifest.xml and all used manifest dependencies (these are usually referenced via gradle compile ...
).
If you are wondering which dependency affects your final resolution requirements, you can check the manifest merge report file (check the <PROJECT>\app\build\outputs\logs
folder and check uses-permission#PERMISSION
i.e.
uses-permission#android.permission.WRITE_EXTERNAL_STORAGE
ADDED from AndroidManifest.xml:11:5
MERGED from com.google.android.gms:play-services-maps:7.5.0:22:5
Here's a blog post you can also check: Hey, where did these permissions come from?
source to share