1

How to I get over the error "DEBUG_TAG cannot be resolved to a variable"

view story
linux-howto

http://stackoverflow.com – This is my code in eclipse: It's trying to set up a connection to a URL URL url = new URL(dataString); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setReadTimeout(10000 /* milliseconds */); conn.setConnectTimeout(15000 /* milliseconds */); conn.setRequestMethod("GET"); conn.setDoInput(true); conn.connect(); int response = conn.getResponseCode(); Log.d(DEBUG_TAG, "The response is: " + response); The last line gives me an error saying "DEBUG_TAG cannot be resolved to a variable" What must I do? (HowTos)