简体   繁体   English

web主机问题,.apk文件从android浏览器下​​载

[英]web host issue, .apk files to download from android browser

I have been trying to get some people to test an android app and needed a friendly way to delivery it since it is not currently on the marketplace. 我一直试图让一些人测试一个Android应用程序,并需要一个友好的方式来交付它,因为它目前不在市场上。 I had uploaded it to my website and found that mostly every attempt to download failed. 我已将其上传到我的网站,发现大多数下载尝试都失败了。 This was wither through the android emulator or actual devices. 这是通过Android模拟器或实际设备枯萎。

I was only able to successfully download on 1 device personally and the rest of the users reported download unsuccessful/failed. 我只能亲自在1台设备上成功下载,其余用户报告下载失败/失败。

I put the file on 2 different webservers and and I was successfully able to download via android browser from the other servers. 我把文件放在2个不同的网络服务器上,我成功地从其他服务器通过Android浏览器下​​载。

What should I tell my primary host so I can resolve this problem? 我应该告诉我的主要主机,以便我可以解决这个问题?

They need to add the mine type for ".apk" to " application/vnd.android.package-archive " 他们需要将“.apk”的地雷类型添加到“ application/vnd.android.package-archive

I had a similar problem and fix it by adding the mime type to the site configuration in IIS. 我遇到了类似的问题并通过将mime类型添加到IIS中的站点配置来修复它。 On Apache I haven't encountered the problem. 在Apache上我没有遇到过这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM