2

Google Playストアに新しい.apkをアップロードすると、「最近のアプリの提出がGoogle Playデベロッパーに違反して拒否されましたプログラムポリシー。アップデートを送信した場合、以前のバージョンのアプリはGoogle Playに引き続き公開されています。 "Android Playストアに新しいAPKファイルをアップロードできません(Android Pay Permission)

私が述べメールを得た:

私たちは、あなたの最近のアップロード中に少なくとも1つのAPKのバージョンが正しくAndroidのペイを使用していないことを検出しました。提出物にAPKバージョン14を含めると、お支払いポリシーに違反してアプリが拒否される可能性があります。

アプリにAndroidのペイを使用したい場合は、次の手順に従ってください。

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. 

アプリで他のお支払い方法を使用したい場合は、アンドロイドを削除するには次の手順に従ってください。マニフェストから支払う:

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. 

ポリシーの問題:Androidの支払いや他の代替の支払いの仕組みGoogle Playでのアプリ内課金サービスにのみ、次のために許可されています

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. 

このポリシーを確認し、この拒否が誤っていると思われる場合は、Googleのポリシーサポートチームにお問い合わせください。私の同僚の一人は、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の支払いに関連した任意のコードや機能を使用していません。

私はGoogleに書きましたが、最初のメールで述べたのと同じ答えを得た:Google Playのチームにお問い合わせ

感謝を。

アプリのマニフェストにAndroidの支払いのための宣言用意しましたので、あなたのアプリがAndroidの支払いのためにフラグが立てられた:あなたのマニフェストにこの要素なしにアプリケーションの新しいビルドを作成してください

をあなたのレビューにフラグが立てられなくなります

その他のご質問やご不明な点がありましたらお知らせください。

私はここにポストを経て:Unable to upload new APK file to Android Play store (google pay) をそれは言及:「あなたは、あなたがそれを使用していない場合graddleビルドファイルでGoogleの支払いを除外しなければなりません。」 しかし、どうすればいいですか?

これは私の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

マニフェストを共有することはできますか? –

+0

私はマニフェストの投稿を更新しました。 – user2778864

答えて

2

ルック - あなたは次の行が含まれている:あなたがアプリのAndroid Payを有効にしていることを意味し

<uses-permission 
    android:name="com.google.android.gms.wallet.api.enabled" 
    tools:node="remove"/> 

を。しかし、Googleは、あなたが実際の商品を販売しようとしていないことを認識しており、そのポリシーに違反しています。

あなたは本当に自分の命令に従うと、あなたのマニフェストからこの行を削除し、その後、任意の物理的な商品(だけで仮想のもの)を販売しようとしていない場合:

をあなたので、あなたのアプリがAndroidの支払いのためにフラグが立てられました。

マニフェストにこの要素なしにアプリケーションの新しいビルドを作成してください、あなたは、もはやレビュー

のためにフラグが付けられません:あなたのアプリのマニフェストにAndroidの支払いのための 宣言が含まれて」VEの

EDIT:この問題はGoogle Playサービスに関連しています。 Google Playサービス全体を使用しているため、ウォレットの有効化権限をマニフェストにマージするWallet SDKも使用しています。

が必要なパッケージのみ、とcompile 'com.google.android.gms:play-services:7.5.0'を置き換えます

ベストプラクティスhereを示すようにのみ、選択し、あなたが本当に必要とされたSDKを選択することです。あなたのケースでは、広告、分析、キャスト:

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' 

注ベースパッケージが依存関係であり、あなたがプレイサービス固有のパッケージのいずれかを使用すると自動的に持ち込まれていること。

+0

こんにちは、 私の元のマニフェストにはこの権限がありませんでした。それは私がこのメールを受け取ったときです。私はhttp://stackoverflow.com/questions/31616334/howtoto-remove-specific-permission-when-build-android-app-with-gradleの指示に従って、許可を削除しました。 投稿のマニフェストも更新しました。このエントリは削除されました。この行の有無にかかわらず、私のアプリは同じエラーで拒否されます。 – user2778864

+0

まず、そのタグに 'android:value =" false "'を追加します。第2に、Google PlayサービスをGoogle Playサービス全体からインポートしているように見えるため、PlayサービスからGoogleウォレットをインポートしているためです。これは良い習慣ではありません。アプリにはメソッドや制約が多すぎます。あなたがする必要があるのは、ウォレットはもちろんのこと、あなたが必要とするパッケージをGoogle Playサービスから持ち出すだけです。どのパッケージが必要ですか?あなたはここに必要なものだけを取る方法を見ることができます:http://blog.safedk.com/technology/reducing-your-method-count-the-google-play-services-edition?ref = so –

+0

こんにちは、 ありがとうございました。あなたは助けに助けました。最後に.apkをアップロードすることができました。 投稿を読んでいる他の人の参考にしてください。 android:value = "false"を追加しても影響はありません。私はマニフェストからラインを削除しました。 私は前のコメントでOriによって言及されたリンクを行った。 私は基本、広告、分析パッケージのみを保管していました。しかし、.pngファイルの問題を強調表示する "aapt"エラーが発生しました。この問題は、「キャスト」に関連する機能はありませんが、「キャスト」パッケージのみを追加することで解決しました。 – user2778864

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' 
} 
関連する問題