android {
compileSdkVersion 28
defaultConfig {
applicationId "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
minSdkVersion 19
targetSdkVersion 28
versionCode xxx
versionName "xx"
ependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleCompatible
implementation'com.google.android.gms:play-services-ads:17.2.1'
implementation 'com.google.android.ads.consent:consent-library:1.0.7'
}
repositories {
jcenter()
}
apply plugin: 'com.google.gms.google-services'18 00:08:01.151 23870 25099 I MediaCodec: Codec shutdown complete
06-18 00:08:01.152 23870 23878 E System : android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:7901)
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:1360)
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewGroup.invalidateChild(ViewGroup.java:5448)
06-18 00:08:01.152 23870 23878 E System : at android.view.View.invalidateInternal(View.java:14829)
06-18 00:08:01.152 23870 23878 E System : at android.view.View.invalidate(View.java:14793)
06-18 00:08:01.152 23870 23878 E System : at android.view.View.onFocusChanged(View.java:6849)
06-18 00:08:01.152 23870 23878 E System : at android.webkit.WebView.onFocusChanged(WebView.java:2575)
06-18 00:08:01.152 23870 23878 E System : at android.view.View.clearFocusInternal(View.java:6734)
06-18 00:08:01.152 23870 23878 E System : at android.view.View.unFocus(View.java:6767)
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewGroup.unFocus(ViewGroup.java:996)
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewGroup.unFocus(ViewGroup.java:998)
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4945)
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4932)
06-18 00:08:01.152 23870 23878 E System : at android.view.ViewGroup.removeView(ViewGroup.java:4863)
06-18 00:08:01.152 23870 23878 E System : at com.google.android.gms.ads.internal.overlay.d.i(:com.google.android.gms.policy_ads_fdr_dynamite@20290000@20290000.249178941.249178941:1)
06-18 00:08:01.152 23870 23878 E System : at com.google.android.gms.ads.internal.webview.v.destroy(:com.google.android.gms.policy_ads_fdr_dynamite@20290000@20290000.249178941.249178941:2)
06-18 00:08:01.152 23870 23878 E System : at com.google.android.gms.ads.internal.webview.t.destroy(:com.google.android.gms.policy_ads_fdr_dynamite@20290000@20290000.249178941.249178941:10)
06-18 00:08:01.152 23870 23878 E System : at com.google.android.gms.ads.nonagon.ad.rewardedvideo.c.finalize(:com.google.android.gms.policy_ads_fdr_dynamite@20290000@20290000.249178941.249178941:2)
06-18 00:08:01.152 23870 23878 E System : at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:222)
06-18 00:08:01.152 23870 23878 E System : at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:209)
06-18 00:08:01.152 23870 23878 E System : at java.lang.Thread.run(Thread.java:762)