Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install apps to external storage in Android

📅 2014-Jan-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ adb, adt, android, android sdk ⬩ 📚 Archive

Android tries to install apps to the internal EMMC storage by default. If you are running out of space in the internal storage that can be a problem. If your device has external storage like a microSD card, then you can move your existing apps to the SD card and also configure Android to install to SD card by default in the future:

[code lang=bash] $ cd sdk/platform-tools $ ./adb devices




  * Enable installing to SD card by default:



[code lang=bash]
$ ./adb shell pm setInstallLocation 2

Tried with: Android 2.2.1, Samsung Galaxy Gio and Ubuntu 12.04 LTS