Google 播放权限错误

Wrong permissions at Google Play

我的应用 Google 播放页面的权限有误。这是我的清单(只是权限)

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

这是完整的文件AndroidManifest.xml

没有别的了。现在请在 Google Play 查看我的应用说明下方的列表。明显错了

我尝试联系 Google 玩支持,但他们什么也没告诉我。

At this time, we’re unable to provide technical support for app development-related questions. We’re happy to help with any questions related to publishing apps and managing your apps using the Google Play Developer Console (http://play.google.com/apps/publish).

所以现在我不知道该怎么做才能使列表正确。有没有人有类似的问题?每次在应用程序更新期间 Google Play 都告诉我需要新的权限。但是设备可以正确看到权限。它们在 Manifest 中被正确声明。我该怎么办?

我发现问题了。

getSharedPreferences(getApplicationContext().getPackageName() + "_preferences", Context.MODE_MULTI_PROCESS);

Android Studio 添加了对文件的访问权限,因为我正在使用多进程共享首选项并且我正在某处写入它们(自 API 11 起可用)。

通过

强制删除权限
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />

在应用程序的清单中中断写入共享首选项。因此 Android Studio 确实需要并自动添加它。

第二个 READ_PHONE_STATE 是因为 saxrssreader 库。当库的 min SDK 低于应用程序的 min SDK 时,在构建期间添加权限。我只是将库的最小 SDK 更改为我的应用程序正在使用的编号,然后权限就消失了。

那是一个棘手的问题,但现在一切都清楚了。