android - 无法将新的 APK 文件上传到 Android Play 商店(谷歌支付)

标签 android android-studio google-play android-permissions

当我尝试上传我的应用程序的新 apk 版本时,我收到此消息:“La aplicación que has enviado recientemente se ha rechazado por infringir las Políticas del Programa para Desarrolladores de Google Play。Si has enviado una actualización, la Google Play 上的旧版本不负责任。”

在那之后,我收到了谈论“Google Pay”的电子邮件,但我从未使用过 Google Pay。

We detected that at least one APK version in your recent upload isn’t using Android Pay correctly. Including APK version(s) 19 in your submission could cause your app to be rejected for violating our Payments policy.

If you’d like to use Android Pay in your app, please follow these steps:

Remove any digital content from your app. To use Android Pay, your app must only sell physical goods or services. Make sure your app is compliant with all policies listed in the Developer Program Policies. Remember that additional enforcement could occur if there are further policy issues with your apps. Sign in to your Developer Console and submit the app. Make sure to increment the version number of the APK. If you’d like to use another payment method in your app, please follow these steps:

Remove from your manifest. Sign in to your Developer Console and submit the app. Make sure to increment the version number of the APK. Policy issue: Android Pay or other alternative payment mechanisms to Google Play’s in-app billing service are only permitted for the following:

Android Pay For physical goods or services, such as movie tickets. Other alternative payment mechanisms to Google Play’s in-app billing service For physical goods or services, such as movie tickets, or a publication where the price also includes a hard copy subscription. For digital goods that may be downloaded to devices and used outside of the app, such as songs that can be played on other music players. Donations to 527 designated tax exempt organizations are also permitted. If you’ve reviewed the policy and feel this rejection may have been in error, please reach out to our policy support team. One of my colleagues will get back to you within 2 business days.

I appreciate your support of Google Play!

Best,

Byron

Google Play Review Team

在我的 list 中我有这个

<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.SET_DEBUG_APP" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />

在 playStore 中我看不到我的平板电脑应用程序,然后,在互联网上阅读,原因是因为我有 CALL_PHONE 的权限。之后我将这一行添加到我的 list 中:

<uses-feature android:name="android.hardware.telephony" android:required="false" />

然后我再也不能上传新的 apk 版本(我认为权限不是问题) 为什么我会有这样的问题? 谢谢!

最佳答案

我们在升级播放服务版本后遇到了这个问题,“app/build/intermediates/manifests/full/debug”文件夹中生成的 list 默认包括以下内容:

<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true" />

如果您不使用它,则必须在 gradle 构建文件中排除 google payment。

关于android - 无法将新的 APK 文件上传到 Android Play 商店(谷歌支付),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36424912/

相关文章:

java - 将 AudioStream 从 WebRTC 路由到应用层

android - 在 Android 的 body() 方法中改造返回 null

Android - 当我的应用程序安装时,默认设置为 "No permission allowed"?

android - 华为手机未出现在 Windows 10 的 Android Studio 中

google-play - 您可以在Google Play中设置将来的发布日期吗?

android - 您上传的 APK 或 Android App Bundle 的部分文件签名信息无效或缺失

android - 发送数据到 Android 设备 Notification to IOS 设备

android - 无法弄清楚为什么这个内核构建失败

android - dagger2 非@Nullable @Provides 方法

android - Android Studio 0.44 中的 Gradle 无法在执行类型任务中运行的路径上找到进程