While I cannot explain that the problem arises from only one file out of two, a review of the headers sent to mediafire.com indicates that the file is being sent with the text / plain content type. Perhaps android browsers look at this header and add the extension .txt. Since this is not under your control, it is best to place the files on your own server and add the mime type application / vnd.android.package-archive for the .apk extension.
source share