Android apps install to the internal storage by default, but you can also set the SD card as your default install location. Follow the below steps to achieve this.
1. On your Android Device Goto Settings > Developer options > USB Debugging and check the checkbox to enable USB Debugging.
2. Now Download and Install Android SDK and Java JDK on your computer.
3. After Installing Android SDK and Java JDK open SDK Manager on your computer.
4. The ADB utility isn’t installed by default. It’s included in the Android SDK Platform-tools package select this package and click the Install button to download and install it.
5. Connect your android device via USB cable to the computer, Windows will locate the device
and install the appropriate drivers automatically. If it doesn't, you may have to download and
install the appropriate drivers from your Android device’s manufacturer.
6. Open C:\Program Files (x86)\Android\android-sdk\platform-tools on your computer or if you are using 32 bit Windows open C:\Program Files\Android\android-sdk\platform-tools.
7. Launch a Command Prompt window in this folder by pressing and holding the Shift button,
right-clicking in the folder, and selecting Open command window here.
8. Type adb devices on the command prompt opened in the above step and press enter and you will see the connected android device.
9. Run the below command to set the default install location to your SD card
adb shell pm setInstallLocation 2
10. If you want to revert this change later and install apps to the internal storage by default, run
this command:
adb shell pm setInstallLocation 0
Now you can move all your previously installed apps to the SD card and the new apps will be installed to SD card by default.
didnt work - G S2
ReplyDeletedoes not work i have htc i did db shell pm set-install-location 2 and it still installed on internal storage android 5.0.2
ReplyDelete