java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/GsonBuilder;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via github.io by Unknown author

You need to setup a GlideModule before use Glide.

Solutions on the web

via GitHub by williamtran1988
, 1 year ago
Failed resolution of: Lcom/google/gson/GsonBuilder;
via GitHub by williamtran1988
, 1 year ago
Failed resolution of: Lcom/google/gson/GsonBuilder;
, 1 year ago
Failed resolution of: Lcom/google/gson/GsonBuilder;
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/GsonBuilder;
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at com.quickblox.core.parser.QBJsonParser.parseJsonResponse(QBJsonParser.java:103)
at com.quickblox.core.parser.QBJsonParser.parse(QBJsonParser.java:91)
at com.quickblox.core.Query.parseAccountRequest(Query.java:339)
at com.quickblox.core.Query.access$000(Query.java:36)
at com.quickblox.core.Query$1.completedWithResponse(Query.java:229)
at com.quickblox.core.server.HttpRequestRunnable$1.handleMessage(HttpRequestRunnable.java:43)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.os.HandlerThread.run(HandlerThread.java:61)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 11 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
165 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.