title: Android Studio error with NameValuePair
body: <p>Here's the bit of relevant code:</p>
  
  <pre><code>@Override
      protected Void doInBackground(Void... params) {
          ArrayList&lt;NameValuePair&gt; dataToSend = new ArrayList&lt;&gt;();
          dataToSend.add(new BasicNameValuePair("name", user.name));
          dataToSend.add(new BasicNameValuePair("age", user.age + ""));
          dataToSend.add(new BasicNameValuePair("username", user.username));
          dataToSend.add(new BasicNameValuePair("password", user.password));
  
          return null;
      }
  </code></pre>
  
  <p>It's telling me "Cannot resolve symbol NameValuePair" and the same thing for "BasicNameValuePair."</p>
  
  <p>Is that syntax incorrect? Because I am pretty sure that both of those exist in Java.</p>
  
  <p>Thanks in advance</p>