android - Can't find uses-permission into manifest file -


i'm trying upload new version of application google developer console.

at end of upload, console show error message: "your apk uses permissions require setting of privacy policies: (android.permission.camera)"

so think have uses-permission manifest file , need add google privacy policy.

that's ok, manifest file:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="simone.biliato.delonghitrevisotvb">  <application     android:allowbackup="true"     android:icon="@mipmap/ic_launcher"     android:label="@string/app_name"     android:supportsrtl="true"     android:theme="@style/apptheme">      <activity         android:name="simone.biliato.delonghitrevisotvb.mainactivity"         android:label="@string/app_name"         android:theme="@style/apptheme.noactionbar">         <intent-filter>             <action android:name="android.intent.action.main" />              <category android:name="android.intent.category.launcher" />         </intent-filter>     </activity>      <service android:name="simone.biliato.delonghitrevisotvb.notificationinstanceidservice">         <intent-filter>             <action android:name="com.google.firebase.instance_id_event" />         </intent-filter>     </service>     <service android:name="simone.biliato.delonghitrevisotvb.notificationmessagingservice">         <intent-filter>             <action android:name="com.google.firebase.messaging_event" />         </intent-filter>     </service>  </application> 

where permissions? why don't see them? i'm sure added them earlier , disappear. there specific location? list of permission project?

user permissions made ones have in manifest , come library or dependencies have in project. result manifest merged of them. check dependencies.

you can use apk analyzer : https://developer.android.com/studio/build/apk-analyzer.html

our friends commonsware give solution detect permissions come from: https://commonsware.com/blog/2015/06/25/hey-where-did-these-permissions-come-from.html

to better sense of elements coming from, can @ app/build/outputs/logs/manifest-merger-debug-report.txt.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -