The server iissupports. APK File Download settings
The iisserver cannot download the .apk file because no. APK file exists in the iis mime, so it cannot be downloaded.
The iisserver cannot download the .apk file. Solution: If .apk cannot be downloaded because it does not have mime, you can add a MIME type.
Steps for iisserver to download the .apk file:
Open IIS Service Manager, find the server, right-click Properties, and open IIS service properties;
Click the "MIME type" button under the MIME type to open the MIME type setting window;
Click "new" to create a new MIME type;
",
In the MIME type field, enter the MIME type "application/vnd. Android. Package-Archive" of the APK"
Click OK to save the settings.
Restart IIS to make the settings take effect.
Server apachesupports. APK File Download settings
In the conf/mime. types file in the Apache installation directory, add the following statement to specify the MIME type of the APK file as application/vnd. Android. Package-archive:
Application/vnd. Android. Package-archive APK;
Restart Apache.
Server nginxsupports. APK File Download settings
APK and. IPA are extensions of Android apps and iOS apps respectively.
If you download these files with the Suffix in your browser, they will be automatically renamed as ZIP files.
Of course, you can manually modify the suffix after downloading and install it.
If you want to download the suffix apk ipa, you can modify the mime. types in the/usr/local/nginx/conf directory.
Add the following configuration to restart nginx
Application/vnd. Android. Package-archive APK;
Application/iPhone pxl IPA;
Download .apk/IPA files supported by Apache/IIS/nginxon the server