Re: [android-developers] Can not resolve symbol 'JsonObjectRequest'

2017-01-09 Thread Marina Cuello
Did you import it in your class? import com.android.volley.toolbox.JsonObjectRequest; The easier way is to use the menu option "Code/Optimize Imports" or the shorcut available on your operative system. You will also need to add the dependency to your build.gradle file: compile

[android-developers] Can not resolve symbol 'JsonObjectRequest'

2017-01-09 Thread Alex
Hi, I am trying to retrieve a JSON query. I am a beginner so I have copied and pasted the below model code from https://developer.android.com/training/volley/request.html. In android studio every JsonObjectRequest is being highlighted red with the hover-over error message "Can not resolve