How to download “.apk” as “.apk”? (not as “.zip”)

后端 未结 7 1975
天命终不由人
天命终不由人 2020-12-16 13:51

I have a small problem. Some browsers are not downloading the \".apk\" files correctly. How to download \".apk\" as \".apk\"? (not as \".zip\") Some browsers are convert the

7条回答
  •  温柔的废话
    2020-12-16 14:08

    Please Change the MIME-TYPE mapping of apk to application/vnd.android.package-archive

    How to add a MIME type to a Web site or application 1. Open Internet Information Services (IIS) Manager: o If you are using Windows Server 2008 or Windows Server 2008 R2: § On the taskbar, click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager. o If you are using Windows Vista or Windows 7: § On the taskbar, click Start, and then click Control Panel. § Double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager. 2. In the Connections pane, go to the site, application, or directory for which you want to add a MIME type. 3. In the Home pane, double-click MIME Types.

    1. In the MIME Types pane, click Add... in the Actions pane.

    2. In the Add MIME Type dialog box, add the file name extension as .apk and MIME type as application/vnd.android.package-archive, and then click OK.

提交回复
热议问题