WebView webView = findViewById(R.id.webView);
String filePath = /storage/sdcard0/someFile.pdf
WebSettings settings = webView.getSettings();
settings.setJavaScriptEnabled(true);
settings.setAllowFileAccess(true);
settings.setBuiltInZoomControls(true);
File htmlFile = new File(filePath);
webView.loadUrl(htmlFile.getAbsolutePath());
以上代码无法显示空白屏幕