Error “validate_display:255 error 3008 (EGL_BAD_DISPLAY)” by Toutorial

后端 未结 4 1643
深忆病人
深忆病人 2020-12-17 10:46

I\'m new to javascript and android and I want to program a multi page app with SAPUI5. For this I found a tutorial: https://sapui5.hana.ondemand.com/sdk/#docs/guide/df86bfbe

相关标签:
4条回答
  • 2020-12-17 11:15

    Not related to sapui

    Don't know whether it will help others or not.

    I've got this error when I was trying to open a pdf file in webview by using google docs.

    I've changed

    webView.loadUrl(url);
    

    to

    webView.loadUrl("http://docs.google.com/gview?embedded=true&url=" + url);
    

    and it worked.

    0 讨论(0)
  • 2020-12-17 11:23

    I had the same issue when I tried to load webview on Dialog. If I load webview on activity, it works well.

    0 讨论(0)
  • 2020-12-17 11:30

    The last error seems to occur because the file /android_asset/i18n/i18n_de_DE.properties is either not there or maybe locked?

    Maybe you misspelled it?

    The EGL_BAD_DISPLAY error could have something to do with the DPI. Maybe this link helps: http://forum.xda-developers.com/showthread.php?t=2212632

    0 讨论(0)
  • 2020-12-17 11:35

    I had the same problem, some time pdf load or some time not. try this solved my problem.

    public void onPageFinished(WebView view, String url) {
        super.onPageFinished(view, url);
        if(view.getContentHeight() == 0){
             view.reload();
        } else {
             pDialog.dismiss();
        }
    

    }

    0 讨论(0)
提交回复
热议问题