I get this error Error:(18, 56) error: cannot find symbol variable webView
Here is code of Activity
Activity
package com.example.luk
Id was mismatching
Change your layout like this
In java initialize WebView variable like this
WebView
WebView view = (WebView) findViewById(R.id.webView);