Android Can';找不到在清单文件中使用权限
我正试图上传一个新版本的应用到谷歌开发者控制台 上载结束时,控制台显示以下错误消息: “您的APK使用需要设置隐私策略的权限:(android.permission.CAMERA)” 因此,我认为我在清单文件中有这个uses权限,我需要添加一个google隐私策略 没关系,但这是我的清单文件:Android Can';找不到在清单文件中使用权限,android,permissions,Android,Permissions,我正试图上传一个新版本的应用到谷歌开发者控制台 上载结束时,控制台显示以下错误消息: “您的APK使用需要设置隐私策略的权限:(android.permission.CAMERA)” 因此,我认为我在清单文件中有这个uses权限,我需要添加一个google隐私策略 没关系,但这是我的清单文件: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/ap
<?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>
所有权限都在哪里?为什么我看不到他们?我确信我之前添加了它们,现在消失了。有具体的位置吗?项目的所有权限列表?用户权限由清单中的权限和项目中的库或依赖项中的权限组成。结果将是一个清单,由所有人合并。检查您的依赖关系 您可以使用apk分析器: 来自Commonware的朋友为我们提供了一个很好的解决方案来检测权限的来源: 为了更好地了解这些元素的位置 来自,我们可以看看 app/build/outputs/logs/manifest-merge-debug-report.txt
如何找到需要访问摄像头的正确库?