I'm having this issue where I'm getting an error that states, "cannot resolve symbol". These words below are red(Included in code below):
HttpEntity
HttpResponse
ClientProtocolException
HttpPost
DefaultHttpClient
I've already tried:
Build > Clean Project
Build > Rebuild Project
File > Invalidate Caches/Restart > Invalidate and Restart
Close Android-Studio and restart my MacBook.
Sync Project with Grade Files.
None of these worked & these are the suggestions I've tried which is what I've been coming across in Google searches.
My mainActivity.java
class is fine but my appMaking.java
class is throwing me this error.
Thanks for reading.
appMaking.java
package com.apress.gerber.currencies;
import android.util.Log;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;
import org.json.JSONException;
public class appMaking {
}