问题描述
我上传的APK文件到Web服务器,并试图从手机上的浏览器访问该链接。当我尝试从该链接我收到一条错误信息下载需要有SD卡才能下载。我没有安装SD卡,但内部的内存没有满,所以我期望的应用程序安装到内存中。
I uploaded an apk file to a web server and attempted to access the link from the browser on the phone. When I attempt to download from that link I receive an error message that reads "An SD card is required to download." I do not have an SD card installed, but the internal memory is not full, so I would expect the app to install to internal memory.
显而易见的解决方案是安装在SD卡。在设备把SD卡确实允许该应用安装。所以,问题是,为什么这个必要吗?
The obvious solution is to install an SD Card. Putting an SD card in the device does allow the app to install. So, the question is why is this necessary?
无处在我的应用我指定这需要在SD卡安装。我试过离开INSTALLLOCATION空白,将其设置为自动和internalOnly。我已经走遍了论坛,没有找到原因。
Nowhere in my app do I specify that this needs to be installed on an SD Card. I've tried leaving the installLocation blank and setting it to "auto" and "internalOnly". I've scoured the forums and not found a reason for this.
推荐答案
这不是应用程序的安装位置,而是在那里下载的.apk文件存储。应用程序可以安装之前,包已被下载并存储第一的地方,一般的SD卡。一旦下载的文件存储,它可以被安装,但没有SD卡,浏览器无处可放的文件。
It's not about where the application is installed, but rather where the downloaded .apk file is stored. Before the application can be installed, the package has to be downloaded and stored somewhere first, typically on the SD card. Once the downloaded file is stored, it can then be installed, but with no SD card, the browser has nowhere to put the file.
这篇关于安装Android应用程序没有SD卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!