无法下载和放大器;请从自己的网页应用程序APK [英] Cannot download & install app APK from own webpage
问题描述
我想有一个可供下载的网站上我的应用程序,但是,当我上传的APK文件,它不能由浏览器中。
在压缩和解将APK,它被检测到。然而,并非所有的手机都可以从ZIP安装 - 我有不同的结果。
为什么不能我只是上传的APK,并有一个URL指向它的下载?为什么我得到一个404,我能做些什么来避免呢?
为什么不能我只是上传的APK,并有一个URL指向它的下载?
块引用>您可以。大量的人去做。还有一些致力于这样做,尽管通常与盗版内容整个网站。
为什么我得到一个404
块引用>由于您正在进入浏览器中的URL不是该文件在服务器上的URL。这是404错误的约100%的原因,在互联网上,无论情况。
我能做些什么来避免呢?
块引用>使用正确的URL。此外,一定要设置服务器的MIME类型配置的地图服务您的文件
应用程序/ vnd.android.package存档
。I'm trying to have my apps available for download on a website, however, when I upload the APK file, it cannot be found by the browser.
When zipping the APK, it is detected. However, not all phones can install from a ZIP - I have had mixed results.
Why can't I simply upload an APK and have a URL point to it for a download? Why am I getting a 404 and what can I do to avoid it?
解决方案Why can't I simply upload an APK and have a URL point to it for a download?
You can. Plenty of people do it. There are entire Web sites dedicated to doing it, albeit usually with pirated content.
Why am I getting a 404
Because the URL you are entering into the browser is not the URL where the file is at on the server. This is the cause of approximately 100% of 404 errors, across the Internet, regardless of circumstance.
what can I do to avoid it?
Use the proper URL. Also, be sure to set the server's MIME type configuration map to serve up your file as
application/vnd.android.package-archive
.这篇关于无法下载和放大器;请从自己的网页应用程序APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!