我使用Admob,并且收到违反Android广告ID政策和第4.8条的行为

时间:2019-08-05 22:11:36

标签: javascript java android

我刚刚从Google Play收到了此消息,但没有收集广告ID。

违反Android广告ID政策的使用和开发者分发协议第4.8节

我使用此依赖项

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.android.gms:play-services-ads:15.0.0'

我注意到自动添加了一些权限,我没有在Androidmanifest.xml中添加它

所以我加了

uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove"
uses-permission android:name="android.permission.INTERNET" tools:node="remove"

到我的Androidmanifest.xml,但它接缝阻止了Google admob。

我如何解决此问题?

0 个答案:

没有答案