Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to locate a binder for interface

Can anyone help. I am making a simple weather app in android. I know first two error,but don't know about last one.

10-25 16:44:11.666: E/ActivityThread(1448): Failed to find provider info for com.google.plus.platform  
10-25 16:44:11.949: E/libEGL(1448): validate_display:255 error 3008 (EGL_BAD_DISPLAY)  
10-25 16:44:12.379: E/chromium(1448): [ERROR:interface_registry.cc(99)] Failed to locate a binder for interface: autofill::mojom::AutofillDriver
like image 535
dev garg Avatar asked Oct 25 '16 11:10

dev garg


4 Answers

Third error, possible due to the server being offline, therefore the URL not being loaded. Look at how you handle the WebView for that particular case. I might be wrong, ran into the same error a while ago, and I remember that's what it was.

like image 156
Michael Avatar answered Nov 17 '22 06:11

Michael


Resolve this issue

    @Override
public void onPause() {
    super.onPause();
    webView.onPause();
    webView.pauseTimers();
}

@Override
public void onResume() {
    super.onResume();
    webView.resumeTimers();
    webView.onResume();
}
like image 28
Pratik Avatar answered Nov 17 '22 06:11

Pratik


I start getting exactly same error when i updated sdk and play services version. App works fine but getting this error on logcat. I think its admob related but not really sure.

like image 1
SilverLeaf Avatar answered Nov 17 '22 05:11

SilverLeaf


Try to use webView.getSettings().setDomStorageEnabled(true). In most of cases this helps.

like image 1
Alex Dzeshko Avatar answered Nov 17 '22 07:11

Alex Dzeshko