android - erroe in importing volley in project -


I'm trying to import volley in Android application. For example, here! And completed all the steps asking in the project, but I can solve the line to get the 'error' method

JsonObjectRequest jsObjRequest = new JsonObjectRequest (Request.Method.GET, url, null , New response.Listener ()

Please help me solve it, what is the problem, I am not able to understand it.

Cloning Volley Library

Open command prompt, go to the location where you want to clone the volley. And want to execute the following command, it will download a copy of the volley library in your local drive.

  git clone https://android.googlesource.com/products/ frameworks / Volley   

See how to integrate the volley in your project here and here:

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -