1. Open the DOS command line, input adb, enter, to view the command Help.
2.ADB devices return, display device list:
The output for each device instance has the following fixed format:
[SerialNumber] [State]
022btf7n43047029 Device
037c708040609357 Device
Adb-s 022btf7n43047029 Shell to enter the device to be operated (when only one device can be entered directly into the ADB shell)
(adb shell command means: Run remote shell interactively
ADB shell <command>-run Remote shell command)
3. Enter the PM carriage return to find the information:
PM Set-install-location:changes the default install location.
Note:this is only intended for debugging; Using this can cause
Applications to break and other undersireable behavior.
0 [Auto]: let system decide
1 [internal]: Install on internal device storage
2 [external]: Install on external media
4. Enter command: PM set-install-location 2, modify the device default installation to SD card. Over.
Reference
Use the ADB command to modify the phone's default installation location to the SD card