So my goal is to clear the cache of a webview, named myWebView, before I use it. I originally tried myWebView.clearCache(true); but that didn't work. So after I did some searching online I found someone that used Context.deleteDatabase("webview.db"); and Context.deleteDatabase("webviewCache.db"); only when I use it I get the error:
Java Code:
Description	Resource	Path	Location	Type
Cannot make a static reference to the non-static method deleteDatabase(String) from the type Context	MainActivity.java	/test/src/com/example/test	line 30	Java Problem
I've searched for an answer but found nothing so I'd be very grateful for some help.

Here's the main piece of the code:
Java Code:
	private WebView myWebView;
	private Button btn;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        myWebView.clearHistory();
        myWebView.clearFormData();
        //clear cache code that causes problem
        Context.deleteDatabase("webview.db");
        Context.deleteDatabase("webviewCache.db");
        
        myWebView = (WebView) findViewById(R.id.webView1);
        btn = (Button)findViewById(R.id.button1);
        
        btn.setOnClickListener(bClickList);
        
        WebSettings webSetts = myWebView.getSettings();
        
        myWebView.setWebViewClient(new WebViewClient());
        webSetts.setJavaScriptEnabled(true);
        myWebView.loadUrl("http://google.com/");
    }