title: cannot resolve symbol Network android studio
body: <p>I am running android project. But I am getting the following error: </p>
  
  <pre><code>/home/sultan/StudioProjects/android-client/app/src/main/java/edu/cmu/cs/gabriel/network/ResultReceivingThread.java:23: error: cannot find symbol
  import android.net.Network;
                    ^
    symbol:   class Network
    location: package android.net
  Note: /home/sultan/StudioProjects/android-client/app/src/main/java/edu/cmu/cs/gabriel/CameraPreview.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  1 error
  </code></pre>
  
  <p>The error is in this line: </p>
  
  <pre><code>import android.net.Network
  </code></pre>
  
  <p>I don't understand how to resolve this error. Please help me. </p>