gpt4 book ai didi

android - 警告您的 Apk 正在使用需要隐私政策 : (android. 权限的权限。READ_PHONE_STATE)

转载 作者:IT老高 更新时间:2023-10-28 13:16:08 29 4
gpt4 key购买 nike

在 list 中未添加 android.permission.READ_PHONE_STATE。权限。

为什么我上传新的apk版本时出现错误如下。

您的应用有一个版本代码为 1 的 apk,它请求以下权限:android.permission.READ_PHONE_STATE。在 APK 中使用这些权限的应用需要设置隐私政策。

我附上了我的 google play 商店帐户的屏幕截图。 enter image description here

我的 list 文件。

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.my.package.name">

<uses-permission android:name="android.permission.INTERNET" />

<application
android:name=".utils.PreferenceManager"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".SplashScreen"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name=".MainActivity"
android:screenOrientation="portrait" />

<activity
android:name=".CategoryListActivity"
android:screenOrientation="portrait" />
<activity
android:name=".ImagesActivity"
android:screenOrientation="portrait" />

</application>

</manifest>

最佳答案

您的应用的 manifest.xml 具有从您的设备访问信息的这些权限,但您在 Play 商店提交时没有隐私政策链接。所以你会收到这个警告。

如果您的应用处理个人或敏感用户数据,则需要应用的隐私政策

Adding a privacy policy to your app's store listing helps provide transparency about how you treat sensitive user and device data.

更新 1

Google Play 管理中心的隐私政策设置已更改位置。

在 Google Play 控制台中,
选择商店展示应用内容
根据隐私政策

更新 2

选择最左下角的政策应用内容
根据隐私政策

关于android - 警告您的 Apk 正在使用需要隐私政策 : (android. 权限的权限。READ_PHONE_STATE),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41234205/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com