Error:(18, 56) error: cannot find symbol variable webView

后端 未结 3 1499
粉色の甜心
粉色の甜心 2021-01-29 02:01

I get this error Error:(18, 56) error: cannot find symbol variable webView

Here is code of Activity

package com.example.luk         


        
3条回答
  •  执念已碎
    2021-01-29 02:29

    From your layout

    WebView view = (WebView) this.findViewById(R.id.webView);
    

    should be

    WebView view = (WebView) this.findViewById(R.id.webView1);
    

提交回复
热议问题