I want to use Volley to send requests from my Android app.
I have included this in the build.gradle
dependencies {
...
compile 'com.android.volley:volley:1.1.0'
}
I want to use:
requestQueue queue = Volley.newRequestQueue(this);
But neither requestQueue
nor Volley
can be resolved.
I have tried:
import com.android.volley;
But it also says that volley can't be resolved. I have done a gradle sync.
I have not downloaded anything. My understanding is that adding Volley to build.gradle takes the place of actually downloading the library?