0

I have put a LaTex script which I render using MathJax CDN. This is the code I used: enter image description here

public class MainActivity extends AppCompatActivity {
    private WebView wq;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        WebView wv;
        wv = (WebView) findViewById(R.id.qtext);
        wv.loadUrl("file:///asset/circleeq.html");   
    }
}

It was displaying on my android some weeks ago without any issue, but today its does not show. Help me why?

My HTML script: enter link description here

ERROR here:

E/chromium: [ERROR:interface_registry.cc(104)] Failed to locate a binder for interface: autofill::mojom::PasswordManagerDriver E/AndroidProtocolHandler: Unable to open asset URL: file:///android_asset/circleeq.html

Sabiha Taskin
  • 113
  • 11

1 Answers1

0

I think the problem is with the javascript. Try to run the app removing the the javascript inclusion part. If it wotks fine then the problem is with the URL of the javascript. Makesure it is fine. If you are using cordova, i think the URLs are case sensisitive.

Jishad
  • 151
  • 4
  • 14