当我向Google Play商店上传新的.apk时,它拒绝了我的提交内容,并且#34;您最近的应用提交因违反Google Play开发者计划政策而被拒绝。如果您提交了更新,那么您之前的应用版本仍会在Google Play上发布。"。
我收到一封邮件说明:
我们检测到您最近上传的至少一个APK版本未正确使用Android Pay。在您的提交中包含APK版本14可能会导致您的应用因违反我们的付款政策而被拒绝。
如果您想在自己的应用中使用Android Pay,请按以下步骤操作:
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.
如果您想在自己的应用中使用其他付款方式,请按照以下步骤从清单中删除Android Pay:
Remove <meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true"/> from your manifest. Sign in to your Developer Console and submit the app. Make sure to increment the version number of the APK.
政策问题:Google Play的应用内结算服务的Android Pay或其他替代付款机制仅允许用于以下内容:
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.
如果您已查看该政策并认为此拒绝可能有误,请与我们的政策支持小组联系。我的一位同事会在2个工作日内回复您。
感谢您对Google Play的支持!
这是我的清单(已更新):
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.altergyan.appname" android:installLocation="auto" android:versionCode="15" android:versionName="@string/version">
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<application
android:name="com.altergyan.appname.Class_10"
android:allowBackup="true"
android:icon="@drawable/app_icon"
android:label="@string/app_name"
android:theme="@style/CustomActionBarTheme">
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_4"
android:label="Category"
android:parentActivityName="com.altergyan.appname.Class_20"
android:windowSoftInputMode="stateHidden" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_20"
android:label="@string/app_name"
android:launchMode="singleTask" >
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_9"
android:label="@string/title_activity_info"
android:parentActivityName="com.altergyan.appname.Class_20" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_23"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
/>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_5"
android:label="@string/favourites"
android:parentActivityName="com.altergyan.appname.Class_20" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_22"
android:label="@string/title_activity_settings">
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_13"
android:label="@string/title_activity_agquizclass"
android:parentActivityName="com.altergyan.appname.Class_20" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_15"
android:label="@string/title_activity_agquizmap"
android:parentActivityName="com.altergyan.appname.Class_13" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_13" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_17"
android:label="@string/title_activity_quiz_play"
android:parentActivityName="com.altergyan.appname.Class_15" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_15" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_16"
android:label="@string/title_activity_quiz_options"
android:parentActivityName="com.altergyan.appname.Class_15" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_15" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_19"
android:label="@string/title_activity_record_phrase"
android:parentActivityName="com.altergyan.appname.Class_20" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_7"
android:label="@string/title_activity_flash_cards"
android:parentActivityName="com.altergyan.appname.Class_20" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_2"
android:label="@string/title_activity_alphabet"
android:parentActivityName="com.altergyan.appname.Class_20" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_3"
android:label="@string/title_activity_alphabet"
android:parentActivityName="com.altergyan.appname.Class_20" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_20" />
</activity>
<activity
android:screenOrientation="portrait"
android:name="com.altergyan.appname.Class_6"
android:label="@string/title_activity_flash_cards"
android:parentActivityName="com.altergyan.appname.Class_7" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.altergyan.appname.Class_7" />
</activity>
<activity
android:name="com.flurry.android.FlurryFullscreenTakeoverActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
</activity>
</application>
</manifest>
我没有使用与Android Pay相关的任何代码或功能。
我写回了谷歌,但得到了第一封邮件中提到的相同答案:
感谢您与Google Play小组联系。
您的应用已被标记为Android Pay,因为您已在应用清单中包含Android Pay声明:
请在您的清单中创建一个没有此元素的应用程序的新版本,您将不再被标记为审核
如果您有任何其他问题或疑虑,请告知我们。
我在这里发了帖子:Unable to upload new APK file to Android Play store (google pay) 它提到:&#34;如果您不使用它,则必须在graddle构建文件中排除Google付款。&#34; 但我该怎么做?
这是我的gradle构建文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "xyz"
minSdkVersion 16
targetSdkVersion 17
}
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard-android.txt'
}
}
}
dependencies {
compile 'com.android.support:appcompat-v7:19.1.0'
compile files('libs/acra-4.5.0.jar')
//compile files('libs/android-support-v13.jar')
compile files('libs/FlurryAds-5.3.0.jar')
compile files('libs/FlurryAnalytics-5.3.0.jar')
compile files('libs/flurryAndroidDFPandAdMobMediationAdapter-5.0.0.r1.jar')
compile 'com.android.support:support-v4:22.2.0'
compile 'com.google.android.gms:play-services:7.5.0'
}
答案 0 :(得分:4)
而不是实现如下的所有播放服务:
dependencies {
compile 'com.google.android.gms:play-services:7.5.0'
}
仅使用下面的必要服务。
dependencies {
compile 'com.google.android.gms:play-services-ads:7.5.0'
compile 'com.google.android.gms:play-services-maps:7.5.0'
}
答案 1 :(得分:2)
查看您的清单 - 您已包含以下行:
<uses-permission
android:name="com.google.android.gms.wallet.api.enabled"
tools:node="remove"/>
这表示您已为应用启用了Android Pay。但是,Google已经确定您不会出售违反其政策的实体商品。
如果您真的没有尝试出售任何实体商品(但只是虚拟商品),请按照他们的指示从您的清单中删除此行:
您的应用已被标记为Android Pay,因为您已包含该应用 Android应用清单中的Android Pay声明:
请在没有此元素的情况下创建应用程序的新版本 您的清单,您将不再被标记为审核
编辑:问题与Google Play服务有关。由于您已整体使用Google Play服务,因此您还可以使用将钱包启用权限合并到您的清单中的电子钱包SDK。
最佳做法是仅选择您真正需要的SDK,如here所示:
仅将compile 'com.google.android.gms:play-services:7.5.0'
替换为所需的包。在您的情况下,广告,分析和演员:
compile 'com.google.android.gms:play-services-ads:7.5.0'
compile 'com.google.android.gms:play-services-analytics:7.5.0'
compile 'com.google.android.gms:play-services-cast:7.5.0'
请注意,基本软件包是一个依赖项,一旦您使用任何特定于播放服务的软件包,它就会自动启动。