I'm having this problem where I'm sending some url requests with Volley and everything is working fine, until I have to clear a single request from the Volley cache, Volley logs that the request coulnd't be find.
Here's my request:
StringRequest stringRequest = new StringRequest(method, url, responseListener, errorListener) {...};
Log.d("Request URL", "" + url);
stringRequest.setTag(url);
stringRequest.setRetryPolicy(new DefaultRetryPolicy(8000, 1, DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));
requestQueue.add(stringRequest);
And when I try to remove the cached request later I simply do:
requestQueue.getCache().remove(url);
This is the volley log:
07-03 17:01:03.259 31199-31199/my.package D/Volley: [1] DiskBasedCache.remove: Could not delete cache entry for key=http://www.myappwebsite.com/..., filename=-615250731-706907684
Any help would be really appreciated.