谷歌玩:我们发现广告的SDK在应用程序中 [英] Google Play: We found Ad SDKs in your application

查看:442
本文介绍了谷歌玩:我们发现广告的SDK在应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌已经把一个新的选择对他们的谷歌Play开发者控制台的要求出版商宣称,如果他们的广告或不是他们的定价和分销页。我们的应用程序没有广告,但我们都被标记为具有AdMob的SDK。

Google has put a new option on their Pricing and Distribution page of their Google Play Developer Console that requires publishers to declare if they have ads or not. Our app does not have ads, yet we are being flagged as having the AdMob SDK.

我们发现广告的SDK中的一个或多个您的活动的APK:

We detected Ad SDKs in one or more of your active APKs:

version: XXXXX, sdk: AdMob

如果您的应用程序投放广告,请更改广告声明   '是'。如果不能准确地申报广告的presence是一个政策   违规,可能导致从谷歌播放应用程序的删除。您   可以访问我们的帮助中心,了解更多。

If your app is serving ads, please change your ads declaration to 'Yes'. Failure to accurately declare the presence of ads is a policy violation and may result in your app's removal from Google Play. You can visit our Help Center to learn more.

我们没有AdMob的,据我可以告诉我们的摇篮文件:

We don't have AdMob, as far as I can tell from our Gradle file:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'me.dm7.barcodescanner:zxing:1.7.2'
    compile 'com.google.android.gms:play-services:8.3.0'
    compile 'com.android.support:appcompat-v7:23.1.0'
    compile 'com.android.support:cardview-v7:23.1.0'
    compile 'com.android.support:recyclerview-v7:23.1.0'
}

什么可能导致这种依赖性现身?我怎样才能摆脱它?

What might be causing that dependency to show up? How can I get rid of it?

推荐答案

您可以运行 gradlew -q依赖的应用程序:依赖看的依赖关系(包括所有的传递依赖)为您的每个配置。

You can run gradlew -q dependencies app:dependencies to see a the dependencies (including all transitive dependencies) for each of your configurations.

您还可以指定一个配置,如用 - 配置releaseCompile

You can also specify a single configuration, such as with --configuration releaseCompile

在你的情况,你会发现,谷歌播放服务包括在AdMob广告的传递性依赖。

In your case, you will find that Google Play Services includes a transitive dependency on AdMob.

您可以通过使用的播放服务(如只有单个部件减轻这种玩-服务定位),而不是播放业务的全部。但是,你可能会发现你使用的各个组成部分之一仍然依赖于AdMob的。例如,的8.1.0版本玩 - 服务 - 分析的传递性依赖发挥,服务,广告,这是AdMob的SDK。

You can mitigate this by using only individual components of Play Services (such as play-services-location) instead of the entirety of Play Services. However, you may find that one of the individual components you use still relies on AdMob. For example, version 8.1.0 of play-services-analytics has a transitive dependency on play-services-ads, which is the AdMob SDK.

这篇关于谷歌玩:我们发现广告的SDK在应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆