E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from GradienCache Error while using Picasso and okhttp in genymotion

扶醉桌前 提交于 2019-11-29 16:14:55

I had a similar problem. I solved it by increasing the virtual machine's memory. Default setting in Genymotion is very small.

Open your VirtualBox Manager (NOT Genymotion). Select your desire Android VM and go to Settings / System and change the slider for Base Memory. You can also increase the Video Memory in the Display tab.

Also try this

Genymotion > Settings > Misc > Clear Cache

this works for me

I finally fixed the code by adding correct JAR Files! Please make sure that you have these libraries:

1- OKHTTP-2.0.0

2- OKHTTP-urlconnection-2.0.0 (not RC1 version!)

3- Okio-1.0.1

4- picasso-2.3.4

if you use these libraries, GradienCache Error will be handled as an exception and you'll no more get force close!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!