Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Failed resolution of: Landroid/webkit/SafeBrowsingResponse #27

Closed
dzungpv opened this issue May 24, 2018 · 1 comment
Closed

Failed resolution of: Landroid/webkit/SafeBrowsingResponse #27

dzungpv opened this issue May 24, 2018 · 1 comment

Comments

@dzungpv
Copy link

dzungpv commented May 24, 2018

I can show test form but it not full working: not show all button with this:

         .withPersonalizedAdsOption()
         .withNonPersonalizedAdsOption()
         .withAdFreeOption()
         .build();

The error log:

I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse; at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48) at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651) at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581) at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564) at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551) at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541) at void com.google.ads.consent.ConsentForm.<init>(com.google.ads.consent.ConsentForm$Builder) (ConsentForm.java:79) at void com.google.ads.consent.ConsentForm.<init>(com.google.ads.consent.ConsentForm$Builder, com.google.ads.consent.ConsentForm$1) (ConsentForm.java:45) at com.google.ads.consent.ConsentForm com.google.ads.consent.ConsentForm$Builder.build() (ConsentForm.java:208)

@rampara
Copy link
Contributor

rampara commented May 24, 2018

@dzungpv that NoClassDefFoundError is just a WebView warning and not an actual error. If you're not able to display the consent form, the onConsentFormError () callback will provide more information about the error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants