Я использую залп на андроиде и при запросе с url большую часть времени получаю фатальную ошибку сигнала в андроид студии.
RequestQueue requestQueue = Volley.newRequestQueue(this);
com.android.volley.toolbox.ImageRequest imageRequest =new com.android.volley.toolbox.ImageRequest(Constants.SERVERURL + id + "/" + imageFileName, new Response.Listener<Bitmap>() {
@Override
public void onResponse(Bitmap loadedImage) {
progressDialog.incrementProgressBy(1);
File file = new File(PATH+"/"+id+"/"+imageFileName);
if(!file.exists()){ saveBitmap(loadedImage,file,Bitmap.CompressFormat.WEBP);
}
}
}, 0, 0, null, new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
error.printStackTrace();
}
});
requestQueue.add(imageRequest);
Вот мой след стека:
[OkHttp] sendRequest<<
I/System.out: Wrong owner. Perhaps a late disconnect
I/Choreographer: Skipped 39 frames! The application may be doing too
much work on its main thread.
I/System.out: [OkHttp] sendRequest>>
I/System.out: [OkHttp] sendRequest<<
I/System.out: Wrong owner. Perhaps a late disconnect
I/Choreographer: Skipped 39 frames! The application may be doing too
much work on its main thread.
I/System.out: [OkHttp] sendRequest>>
[OkHttp] sendRequest<<
I/System.out: Wrong owner. Perhaps a late disconnect
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x6d080000 in tid
22280 (p.tamilstickers)
Application terminated.