I do not understand what kind of magic:

AndroidManifest.xml

<!-- используется API-интерфейсом для загрузки листов карты с серверов Google Карт. --> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- позволяет API-интерфейсу проверять состояние подключения для определения возможности загрузки данных. --> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> 

Settings of this application:

Where do the permissions for memory and phone come from, if I didn’t register them in the manifest?

How can you find out where they can be used? I used a new dialog to allow location for android> = 6.

Why am I interested in this at all - when I loaded the application into the market for publishing an application, such a dialogue came out

For permissions that apply to your APK file (for example, android.permission.READ_CONTACTS), you need to set a privacy policy.

I understood about politics, but did not understand why I was shown this.

Actually the 2nd question - this dialogue and my permissions in this case are somehow connected?

Could it be that the libraries connected to the project have their own list of permissions?

 compile 'com.android.support:appcompat-v7:24.2.1' compile 'com.android.support:design:24.2.1' compile 'com.android.support:multidex:1.0.1' compile 'com.android.support:recyclerview-v7:24.2.1' compile 'com.android.support:support-v4:24.2.1' compile 'com.google.android.gms:play-services:9.6.0' compile 'com.github.paolorotolo:appintro:3.3.0' compile 'com.squareup.picasso:picasso:2.5.2' testCompile 'junit:junit:4.12' 
  • "Where do the permissions for memory and telephone come from, if I registered it in the manifest?" - you registered in the manifesto. - AseN
  • xD fix it now - zayn1991
  • @ 0xFFh, corrected - zayn1991
  • one
    Look what you have in the final manifesto (after all, they merzhatsya of all used aar). It is located somewhere here: ./app/build/intermediates/manifests/full/debug/AndroidManifest.xml - FeelGood
  • one
    What kind of permishans come from either can be found in their AndroidManifest.xml. They are located somewhere here: app/build/intermediates/exploded-aar/com.android.support/support-fragment/24.2.1/AndroidManifest.xml - FeelGood

1 answer 1

Look what you have in the final manifesto (after all, they merzhatsya of all used aar). It is located somewhere here:

./app/build/intermediates/manifests/full/debug/AndroidManife‌​st.xml

What kind of permishans come from, you can see in their AndroidManifest.xml yah. They are located somewhere here:

app/build/intermediates/exploded-aar/com.android.support/sup‌​port-fragment/24.2.1‌​/AndroidManifest.xml

We need to understand who asks what is not needed and whether the application can work at all without this permishan. "Unnecessary" permishan can be removed. See here https://stackoverflow.com/a/31386964/310760

  • I'd add, I suspect the line compile 'com.google.android.gms:play-services:9.6.0' , because there is a lot of unused, and I only need the library com.google.android.gms.maps for maps and location. Now I will specify in build.gradle - zayn1991
  • one
    [ developers.google.com/android/guides/setup] link to select the required libraries instead of compile 'com.google.android.gms:play-services:9.6.0' , (you can add it in the answer, all of a sudden will understand the solution) - zayn1991
  • everything, I replaced that libu and I have only one permission, thank you very much! - zayn1991