我在 Eclipse 中创建了一个 Android 应用程序。当在Google Play商店上传应用程序时, 谷歌在其 Google Play 开发者控制台的定价和分发页面上添加了一个新选项,要求发布商声明是否有广告。我收到以下警告消息。
We detected Ad SDKs in one or more of your active APKs:
version: XXXXX, sdk: AdMob
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 SDK。我认为这是因为我们使用的是 google play 服务库,其中包含对 AdMob 的传递依赖。
是否可以在 eclipse 中仅为 GCM 构建 google play 服务库?
如果是,那么如何?
最佳答案
去 android studio 老兄,Google play 服务有一个单独的 Google Could 消息实例,您可以像这样将其添加到 gradle 中。
compile 'com.google.android.gms:play-services-gcm:x.x.x'
关于android - 是否可以在 Eclipse 中仅为 GCM 构建 google play 服务库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33797216/