Use proxy for stock android download manager? Play store not downloading through shadowsocks
The only way to force everything through a server like a proxy on Android is a vpn. There are several apps to use a proxy via vpn

The theory is that if you get a bad proxy not everything is effected. Generally only web browsers respect proxy configuration and other apps must specifically support it (which they do not generally)

Also check the proxy configuration and that it is accessible