Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Android App Without SD Card

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.

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?

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.

like image 469
Kris Pena Avatar asked Nov 16 '10 20:11

Kris Pena


People also ask

Can I install apps without SD card?

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.

Will an Android phone work without an SD card?

Finally to answer your question, yes. it works fine as the OS and related information stored on the phone internal memory. Save this answer.

How do I download apps to my SD card instead of internal storage?

From your Home screen, tap the Application screen icon. Find and tap Settings → Apps. Tap the On SD card tab. Select application, then tap Move to SD card.


2 Answers

You can install apk files on your phone's internal memory(even if an SD card is not present) using adb(Android Debug Bridge).

First enable USB debugging and connect phone to your computer. Open terminal and type:

adb install [path to apk file]/app_file.apk

You will get a response as below:

1516 KB/s (190984 bytes in 0.123s)
pkg: /data/local/tmp/app_file.apk
Success

Your apk file will be installed on phone's internal memory.

like image 193
Sunil Manheri Avatar answered Sep 28 '22 22:09

Sunil Manheri


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.

like image 42
Blumer Avatar answered Sep 28 '22 22:09

Blumer