我尝试更新使用cordova创建的旧项目,除CordovaWebView外,一切正常。如何解决以下错误?
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.init();
setContentView(R.layout.activity_drawing);
FrameLayout MainFrame = (FrameLayout) findViewById(R.id.MainFrame);
MainFrame.addView(appView.getRootView(), 0);
appView.getSettings().setLoadWithOverviewMode(true);
appView.getSettings().setUseWideViewPort(true);
appView.addJavascriptInterface(this, "Drawing");
appView.setWebViewClient(new syWebViewClient(this, appView));
loadUrl(launchUrl);
}
无法识别appView方法。