因Google付款而被拒绝的应用程序
问题描述:
我想在Google Developer Console中提交我的测试版应用程序,但它被拒绝了。 Google发给我的邮件说,原因是Google Pay的使用不正确。事情是,我根本不在我的应用中使用Google Pay。还搜索我的行清单的时候,谷歌说我应该在我的应用程序中删除时不想使用谷歌支付(因Google付款而被拒绝的应用程序
<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true"/>
),我不可能发现任何东西。 我也不想卖任何应用内购买,并在发展控制台这样说,应用程序是完全免费的。
的模块的build.gradle是:
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 22
buildToolsVersion "21.1.2"
defaultConfig {
applicationId 'com.myproject'
minSdkVersion 14
targetSdkVersion 22
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
productFlavors {
}
}
dependencies {
compile project(':copyoflibrary')
compile project(':copyofHoloGraphLibrary')
compile project(':multiStateToggleButton')
compile 'com.android.support:support-v4:22.0.0'
compile 'com.google.code.gson:gson:2.3'
compile 'com.android.support:appcompat-v7:22.0.0'
compile "com.google.android.gms:play-services:7.5.+"
compile files('libs/commons-lang3-3.3.2.jar')
compile 'com.android.support:cardview-v7:22.0.+'
compile 'com.pkmmte.view:circularimageview:1.1'
}
答
我终于找到了问题。如果使用的是谷歌的gradle从发挥象下面这样:
compile 'com.google.android.gms:play-services:8.4.0'
然后你调试和发布清单将有Android的支付码,以及它会自动包括应用程式内购买元为好。
因此,您需要为每项Google服务选择个人。
所以,如果你正在使用GCM推送通知, 您摇篮应该像
compile "com.google.android.gms:play-services-gcm:8.4.0"
如果你使用谷歌分析,然后gardle将
compile 'com.google.android.gms:play-services-analytics:8.4.0'
我检查了释放后调试menifest做了这个改变。
感谢
您需要提供更多信息 – ligi
我真的不有更多的信息,我不知道为什么它可能只是该邮件被拒绝,这是在我的眼睛无法理解 –
你使用任何模块声明''? –
BadCash