android - cannot be resolved or is not a field WebView object -
does know what's problem here?
webview wv = (webview) findviewbyid(r.id.webview1);
gives me webview1 cannot resolved or not field, don't know why. here's xml:
<webview android:id="@+id/webview1" android:layout_width="match_parent" android:layout_height="match_parent" /> </linearlayout>
i want simple line of code executed:
wv.loadurl("http://www.cinicraft.com/pick.html");
do have automatic build can check? also, try cleaning project, fixes these kinds of errors me.
Comments
Post a Comment