Android-GraphQL-Apollo client – Query unresolved reference

Android-GraphQL-Apollo client – Query unresolved reference


0

I am trying to integrate graphql in my android project.My package name is app.android.mylife.
I have set
apollo { packageName.set("app.android.mylife") }
in my gradle file.

I created the same package structure for graphql folder also.
main-graphql-app-android-mylife->(here all graphql files)
I am having schema.json file which is also integrated .
And defined the query like this
test query.
When i execute this query with graphql plugin in android studio it gives response properly.
Then i rebuilt the project.
When i use the auto generated class BlogPostsQuery, it give unresolved refernce when compiled.
How can i solve it.

New contributor

Harish Padmanabh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


Load 6 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *