Http request don't work in apk file

when I run my code on the browser it works fine with the server responses but when I generate the apk no response from the server and I can not even read the images store in the assets / imgs / folder

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Chrome dev tools: Look at the console and network tabs for errors.

here is what chrome shows as network error

This doesn’t show any network errors and also shows working images. I thought those didn’t work as well?

it works perfectly whether on the browser as you saw it and even on ionic dev app the android application to test but that’s when I generate the apk for the test that it can not contact the server anymore

I posted a description how to remote debug the app in my first reply. Did you read it and do that?