DWorkS / VolleyPlus

🏐 Volley library : make everything faster . Its an improvements for Volley by Google for Android https://android.googlesource.com/platform/frameworks/volley
https://github.com/DWorkS/VolleyPlus
984 stars 274 forks source link

Errors while generate release APK. #77

Open shohel01716 opened 6 years ago

shohel01716 commented 6 years ago

com.android.volley.error.VolleyErrorHelper$1: can't find superclass or interface com.google.gson.reflect.TypeToken |   com.android.volley.AsyncRequestLoader: can't find referenced class com.google.gson.Gson |   com.android.volley.error.VolleyErrorHelper: can't find referenced class com.google.gson.Gson |   com.android.volley.error.VolleyErrorHelper: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.android.volley.error.VolleyErrorHelper$1 |   com.android.volley.error.VolleyErrorHelper: can't find referenced class com.google.gson.Gson |   com.android.volley.error.VolleyErrorHelper$1: can't find referenced class com.google.gson.reflect.TypeToken |   com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.Gson |   com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.JsonSyntaxException |   com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.Gson |   com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.JsonSyntaxException |   there were 16 unresolved references to classes or interfaces. |   there were 1 unresolved references to program class members. |   Exception while processing task java.io.IOException: Please correct the above warnings first. |  

johan-steffens commented 6 years ago

Hey man, can you try to delete your build folder manually and then doing a build and run again?

haliyari commented 6 years ago

i have the same problem plz help

johan-steffens commented 6 years ago

@hellboyfa Please post a stacktrace and some form of code

haliyari commented 6 years ago

com.android.volley.error.VolleyErrorHelper$1: can't find superclass or interface com.google.gson.reflect.TypeToken
com.android.volley.AsyncRequestLoader: can't find referenced class com.google.gson.Gson com.android.volley.error.VolleyErrorHelper: can't find referenced class com.google.gson.Gson
com.android.volley.error.VolleyErrorHelper: can't find referenced method 'java.lang.reflect.Type getType()' in program class com.android.volley.error.VolleyErrorHelper$1
com.android.volley.error.VolleyErrorHelper: can't find referenced class com.google.gson.Gson
com.android.volley.error.VolleyErrorHelper$1: can't find referenced class com.google.gson.reflect.TypeToken com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.Gson
com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.JsonSyntaxException com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.Gson
com.android.volley.request.GsonRequest: can't find referenced class com.google.gson.JsonSyntaxException

johan-steffens commented 6 years ago

Please post the request/response code related to the section. I believe it has to do with JSON marshalling.