Android StrictMode Thread Policy showing error
<p>Actually I am trying to write an app having <code>minSDKversion:8</code> and <code>targetSDKversion:15</code> and I need to use </p>

<pre><code>   StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
    StrictMode.setThreadPolicy(policy); 
</code></pre>

<p>But its showing error</p>

<blockquote>
  <p>StrictMode cannot be resolved to a type</p>
</blockquote>

<p>I am using 2.2 SDK to compile my app</p>

<p>SOLVED:
We need atleast 2.3 to import StrictMode</p>
