I just got a new Nexus 5X phone and want to install shadowsocks. But I always met "can't open file" mistake from naive Android download manager when I downloaded apk from my own http server. Finally I found it is a download manager bug (link) and could be fixed by update mime configuration file from sever side (link)