I encountered a problem, where APK file would get corrupted by uploading to OneDrive. If I try to install the app from local drive, it would pass, but if I download the file, that was uploaded to OneDrive and try to install it, the device returns
"INSTALL_FAILED_INVALID_APK" error. I also tried to upload the same APK to different servers (Google Drive) and download it from there, and the installation passed. So the problem seems to be isolated to OneDrive. I upload the application via Google Chrome browser. Also this worked just last week, and I also tried to download the previous version of APK that I uploaded last week and the installation passed.
Does anyone have any ideas what could be causing this strange behaviour?